Any sort of jquery slider like nivo or coin that I put into my template is causing IE8 to have a huge lag slowdown. To anyone who knows what they're doing with js / html better than me, could you glance over my <'head'> section and let me know if anything looks wrong or like it might cause a problem?
Or if you can think of any other reason why the effect on these sliders would be slowing down IE that would help me out a ton.
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"><head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Blueprint by Brainbuzz Media</title> <link rel="stylesheet" type="text/css" href="style.css" /> <link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" /> <link rel="stylesheet" href="colorbox.css" type="text/css" /> <!-- dropdown menu --> <link href="dropdown/dropdown.css" media="screen" rel="stylesheet" type="text/css" /> <link href="dropdown/themes/stylish/default.ultimate.css" media="screen" rel="stylesheet" type="text/css" /> <!--[if lt IE 7]> <script type="text/javascript" src="js/jquery.dropdown.js"></script> <style type="text/css"> html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/ </style> <![endif]--> <!-- jquery --> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <!-- dropdown menu --> <script type="text/javascript"> $(document).ready(function () { $('ul.dropdown ul').css('display', 'none'); $('ul.dropdown li').hover( function () { //show its submenu $('ul', this).slideDown(250); }, function () { //hide its submenu $('ul', this).slideUp(250); } ); }); </script> <!-- cufon --> <script src="js/cufon-yui.js" type="text/javascript"></script> <script src="cufon/Museo_Sans_500.font.js" type="text/javascript"></script> <script src="cufon/mplus-2p_400.font.js" type="text/javascript"></script> <script type="text/javascript"> Cufon.replace('h1, h3, h4, h5, h6, th', { fontFamily: 'mplus-2p' }); Cufon.replace('h2', { fontFamily: 'Museo Sans 500' }); </script> <!-- sliders --> <script src="js/jquery.nivo.slider.pack.js" type="text/javascript"></script> <!-- initialize sliders --> <script type="text/javascript"> $(window).load(function() { $('#slider').nivoSlider(); }); </script> <!-- colorbox --> <script src="js/jquery.colorbox.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ //Examples of how to assign the ColorBox event to elements $("a[rel='example1']").colorbox(); $("a[rel='example2']").colorbox({transition:"fade"}); $("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"}); $("a[rel='example4']").colorbox({slideshow:true}); $(".example5").colorbox(); $(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344}); $(".example7").colorbox({width:"80%", height:"80%", iframe:true}); $(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"}); $(".example9").colorbox({ onOpen:function(){ alert('onOpen: colorbox is about to open'); }, onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); }, onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); }, onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); }, onClosed:function(){ alert('onClosed: colorbox has completely closed'); } }); //Example of preserving a JavaScript event for inline calls. $("#click").click(function(){ $('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here."); return false; }); }); </script> <!-- IE6 png fix --> <script type="text/javascript" src="js/jquery.pngFix.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(document).pngFix(); }); </script> </head>



Reply With Quote

Bookmarks