// live is mainly used to bind events to dynamically loaded elements
// Product Catalog
$(".lm_div_q dd").live({
mouseenter: function() {
$(this).find("strong").addClass("tj_strong ");
$(this).find("strong").next().slideDown(200); // Display drop-down box
},
mouseleave: function() {
$ (this).find("strong").removeClass("tj_strong");
$(this).find("strong").next().slideUp(200); // Hide the drop-down box
}
});
//Hover directly binds events
// Product Catalog<br>$(".lm_div_q dd").hover(function( ){ <br>$(this).find("strong").addClass("tj_strong"); <br>$(this).find("strong").next().stop(true,true). slideDown(200); // Display drop-down box <br>}, function(){ <br>$(this).find("strong").removeClass("tj_strong"); <br>$(this).find ("strong").next().stop(true,true).slideUp(200); // Hide drop-down box<br>});