jQuery & IE on Refresh/Reload
Posted
by Bry4n
on Stack Overflow
See other posts from Stack Overflow
or by Bry4n
Published on 2010-05-05T20:24:15Z
Indexed on
2010/05/05
20:28 UTC
Read the original article
Hit count: 217
Basically I create a page with a jQuery scroller on it.
However in IE7 specifically, on refresh all the li's
on the page are shown full out
then they hide and the scroller begins.
Anyone know how I can fire the jquery first, or prevent this from happening.
Heres the code
<script language="JavaScript" src="/site/js/jquery-1.3.2.js"></script>
<script language="JavaScript" src="/site/js/jcarousellite_1.0.1c4.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".air_ticker").jCarouselLite({vertical: true,visible: 1,auto:10000,speed:1800});
});
</script>
© Stack Overflow or respective owner