Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.
window.onload = function(){
$("#main ul li a").mouseover(function(){my_hover(this)});
}
function my_hover(e){
$("#main ul li a.selected").removeClass('selected');
$(e).addClass('selected');
}
$(document).ready(function(){ // unless you're using document.write() code, this will work a little nicer than window.onload
$('#main ul li a').hover(
function(){
// "mouseover" events go here
$(this).addClass('selected');
},
function(){
// "mouseout" events go here
$(this).removeClass('selected');
}
);
});
1 to 4 of 4