internet explorer 8 - jquery selector not working in IE8 -
i have problem have skin site without being able change html.
as result, i'm having things js wouldn't do. part of have move "default" image new position. works on browsers, including ie7, except ie8. ideas?
$(".carouselthumbwrap.carouselselected").animate({ margintop: hoverypos }, 1);
the html looks this:
<li asseturl="art.png" class="carouselthumbwrap carouselselected" assettype="image">blah</li>
the thing can think have race situation. carouselselected assigned widget or can't change , must not have appeared time document.ready
function has run. ideas? missing something?
turns out race situation , fixed it:
$($(".carouselthumbwrap")[0]).addclass("carouselselected");
Comments
Post a Comment