jquery image slide procedure faulty in IE

Posted by sahulik on Stack Overflow See other posts from Stack Overflow or by sahulik
Published on 2010-04-18T19:33:00Z Indexed on 2010/04/18 20:33 UTC
Read the original article Hit count: 276

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');
    });
  });

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about image