This repository has been archived on 2024-07-18. You can view files and clone it, but cannot push or open issues or pull requests.
lwb5/site/static/main/js/sidebox.js

30 lines
881 B
JavaScript

$(function(){
$("li#slright span").mouseover(function() {
$("li#slleft").css({
height: "26px",
backgroundImage: "none"
});
$("li#slleft div").css("display", "none");
$("li#slleft span").css("fontWeight", "normal");
$("li#slright").css({
height: "425px",
backgroundImage: "url(__STATICURL__/main/pics/mp-tab-2.png)"
});
$("li#slright span").css("fontWeight", "bold");
$("li#slright div").css("display", "block");
});
$("li#slleft span").mouseover(function() {
$("li#slright").css({
height: "26px",
backgroundImage: "none"
});
$("li#slright div").css("display", "none");
$("li#slright span").css("fontWeight", "normal");
$("li#slleft").css({
height: "425px",
backgroundImage: "url(__STATICURL__/main/pics/mp-tab-1.png)"
});
$("li#slleft span").css("fontWeight", "bold");
$("li#slleft div").css("display", "block");
});
});