jquery image slide procedure faulty in IE
- by sahulik
Where did I go wrong? IE reports a problem while everything else seems to be just fine.
$(document).ready(function(){
menu = $('#menu > ul > li');
image = $('#image > ul > li > div');
menu.each(function(idx) {
this.slide = image[idx];
}).hover(
function() {
menu.removeClass('active');
image.removeClass('active');
$(this).addClass('active');
$(this.slide).addClass('active');
});
});