Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
jQuery Slider not working in Internet Explorer. How do you fix this problem in I.E.?
This is my current Java code, does anyone know how to make this banner work in IE? Thank you in advance.
<link rel="stylesheet" href="my.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/... type="text/javascript"></script>
<script src="mysource.com" type="text/javascript"></script>
<script type="text/javascript">
$(window).load(function() {
$('#slider').nivoSlider({
effect: 'slideInRight',
animSpeed:500,
pauseTime:7000,
directionNav:false,
controlNav:false,
startSlide:0,
pauseOnHover:true,
keyboardNav:false,
});
});
Yes this is in my HTML head. The div code is just images in a list. It works great in every other browser but IE
3 Answers
- Anonymous1 decade agoFavorite Answer
Just as a stab in the dark, I'd try
$(document).ready(function() {
...
});
Instead of $(window).load. I've used jquery for a very long time, and always used the document ready syntax.
If that doesn't work, you need to provide more details. What does "not working" mean - does absolutely nothing happen, or does something happen, but not happen correct? Seeing the source of "nivoSlider" would be the next step.
Oh! Also try removing the extra comma after keyboardNav: false. That's an even easier fix.
- eli porterLv 51 decade ago
Is this at the top of your html?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd%22%3E