[jQuery] What I am I doing wrong? This should be quick.
// when the mouse is hovering over the category link
$("#menu li a[id]").hover(function(){
// hide the default image and description
$(".js_off").fadeOut("fast");
// display the slide show section whose class matches the category
link's id
var cat=$(this).attr('id');
$("div.slideshow."+ cat +".ns").fadeIn("fast");
// when the mouse leaves that category link
},function(){
//hide the class
$(".slideshow").fadeOut("fast");
// display the default image
$(".js_off").fadeIn("fast");
});
The JS Debugger does not return any errors and everything works,
except the cycle plugin, which returns no error. I am expecting the
corresponding slide show to appear, but no luck.