Hi Mike, Thanks for replying I am a newbie with this so appreciate your help.
I've changed my code now so that in <head> I have: <script type="text/javascript"> $(function() { $('#s1').cycle(); }); </script> and I deleted: <code><script type="text/javascript">$('#s1').cycle('fade');</script></ code> from the <body> so that the images I want to fade look like this: <div id="s1"> <img src="images/bag_cycle_1.jpg" alt="Insulated cool bags - protects chilled and frozen foods" /> <img src="images/bag_cycle_2.jpg" alt="Personalise your carrier bags - Promotional cool bags - medium" /> <img src="images/bag_cycle_3.jpg" alt="Below zero cool bag" class="float_right" /> <img src="images/bag_cycle_4.jpg" alt="Trolley bag" /> </div> Unfortunately, I am having problems with my server at the moment so I could only test this locally. It still isn't working though. Now IE6 crashes before it loads any of the page. I'm sure I'm missing something really obvious. Thanks Kirsty On Apr 11, 12:00 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm relatively new to using JQuery so maybe making a newbie error bt > > can't see where. > > > I've installed the JQuery Cycle Plugin on the homepage of a website > > I've built and it works perfectly in Firefox, Safari, and IE7 but it > > crashes IE6. > > > I have used this plugin before and it worked perfectly in all browsers > > and I can't see that I've done anything different. > > > The line that is causing the crash is: > > <code><script type="text/javascript">$('#s1').cycle('fade');</script></ > > code> > > > When I comment this line out IE6 loads the page. I can't find any > > documentation on a bug in this plugin so I'm at a loss. > > > This is the page that crashes: > > http://www.admgroup.entadsl.com/bg_bags/index.php > > > and this is the website for the plugin I'm using: > > http://www.malsup.com/jquery/cycle/ > > > If anyone can help??????? > > > Kirsty > > Looks like you copied my example page, but you've got some extra cruft > in there. > > This is how I drive my demo pages: > > <script type="text/javascript"> > $(function() { > // run the code in the markup! > $('code').each(function() { > eval($(this).text()); > });}); > > </script> > ... > <pre><code>$('#s1').cycle('fade');</code></pre> > > but I only code it that way to ensure that my examples are accurate. > And in your case you have an extra script tag that is unneeded: > > <code><script type="text/javascript">$('#s1').cycle('fade');</script></code> > > But really you should change all that code and write it the easy way. > All you need is the following: > > <script type="text/javascript"> > $(function() { > $('#s1').cycle();}); > > </script>- Hide quoted text - > > - Show quoted text -