jQuery Cycle Plugin not loading in IE7 (and IE6), works perfect in all other browsers
http://dev.mattcampy.com/mit_ci/index.html
The slides load as one huge stack in IE7, almost like the script isn't loading or something?
This is what I'm working with:
- <script type="text/javascript">
- $(document).ready(function() {
- $("#gallery").css("overflow", "hidden");
- $("ul#slides").cycle({
- fx: 'fade',
- pause: 1,
- prev: '#prev',
- next: '#next',
- timeout: 8000,
- });
- $("#gallery").hover(function() {
- $("ul#nav2").fadeIn();
- },
- function() {
- $("ul#nav2").fadeOut();
- });
- });
- </script>
HTML:
- <div id="gallery" class="span-24 last">
- <ul id="nav2">
- <li id="prev"><a href="#">Previous</a></li>
- <li id="next"><a href="#">Next</a></li>
- </ul>
-
- <ul id="slides">
- <li><a href="#"><img src="images/gallery_1.png" alt="photo of boston" width="950" height="297" title=" " /></a></li>
- <li><a href="#"><img src="images/ci_feature_quote_1.png" alt="image of quote" width="950" height="297" title=" " /></a></li>
- <li><a href="news.html#two"><img src="images/ci_feature_news.jpg" alt="Marco speaks HDL Global 2010" width="950" height="297" title=" " /></a></li>
- <li><a href="#"><img src="images/ci_feature_quote_2.png" alt="image of quote" width="950" height="297" title=" " /></a></li>
- <li><a href="#"><img src="images/ci_feature_quote_3.png" alt="image of quote" width="950" height="297" title=" " /></a></li>
- </ul>
-
- </div> <!-- END GALLERY -->
CSS:
- #gallery { background-color:#ffffff; border-top:7px solid #ffffff; position: relative; z-index: 5; height:297px; }
- #gallery ul { list-style:none; margin:0; padding:0; }
-
- div#gallery ul#nav2 { display: none; list-style: none; position: absolute; width:950px; top: 125px; z-index: 15; border:none; background:none; }
- div#gallery ul#nav2 li#prev { float: left; margin: 0 0 0 10px; }
- div#gallery ul#nav2 li#next { float: right; margin: 0 10px 0 0; }
- div#gallery ul#nav2 li a { display: block; width: 40px; height: 40px; text-indent: -9999px; outline:none; }
- div#gallery ul#nav2 li#prev a { background: url(../images/prev_white.png); }
- div#gallery ul#nav2 li#next a { background: url(../images/next_white.png); }
- div#gallery ul#slides { list-style: none; }
- div#gallery ul#slides li { margin: 0; padding:0; }
Any help would be greatly appreciated!