Any idea why this works everywhere (ff/chrome/ie8-9) but in IE7 - Im using jquery-1.6.2.min.js:
also using this doctype:Code:<script type="text/JavaScript"> $(document).ready(function (){ $('#buttonslide a').click(function(){ var integer = $(this).attr('rel'); $('.myslide .cover').animate({left:-800*(parseInt(integer)-1)}) $('#buttonslide a').each(function(){ $(this).removeClass('active'); if($(this).hasClass('button'+integer)){ $(this).addClass('active')} }); return false; }); }); </script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
I even try this and nothing (only works without the js above) :
Code:<script type="text/javascript"> $(document).ready(function() { alert("Hello?"); }); </script>


Reply With Quote
Bookmarks