Results 1 to 3 of 3

Thread: ie10 problem with starting slideshow

  1. #1
    Join Date
    Dec 2012
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default ie10 problem with starting slideshow

    1) Script Title: fadeinslideshow.js

    2) Script URL (on DD): http://www.cmidemolition.co.uk/v2/pa...w-loading.html (but don't click this just yet or the images will load into your cache!)

    3) Describe problem: When you navigate to it from http://www.cmidemolition.co.uk/v2 and then go to "Skip Hire" from the drop down menu at the top and choose "Loading Guidelines" there seems to be an excessive delay with the first image coming up, so all you see is a blank area. However, if you go into directly using the URL at the top of this post it seems to load almost straightaway.

    Mind, if you've already clicked the direct link to clear your cache etc otherwise it will load the images from your hard drive and everything will look fine.

    It works fine in Safari and Firefox both navigating from the main menu and also directly. I've tried using many different computers and connections (BT ADSL, Virgin 60MB fibre optic etc).

    Could anyone help?


    Cheers

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,944
    Thanks
    43
    Thanked 3,193 Times in 3,156 Posts
    Blog Entries
    12

    Default

    I'm not seeing that exact problem, but I suppose it would depend upon connection speed. What I see is that, since the "Loading Guidelines" link is in the same position as a part of the slideshow, the first image shows up right away, but the show is in pause mode (it does pause on mouse over). Other browsers do not see the mouse as over the show unless you move it, others might not even see it as over the show unless you move it out and then back over the show.

    If the connection is slower, the first image might not have time to load before the show goes into pause mode in IE 10, that might be what you're seeing.

    And yes I tried it in IE 10 without navigating to the page itself first, and later with the cache cleared.

    There are two things that come to mind, one is you could use my modified version of the script that allows it to continue loading even if it starts in paused mode (right click and 'Save As'):

    fadeslideshow.js

    But that still will not prevent the slideshow from pausing if the mouse just happens to be over it as the page loads. For that you would need to either completely disable the mouseover pause, or disable it temporarily, at least until the user mouses out from the slideshow for the first time, but then only if the mouse happens to be over the slideshow as it loads - complicated, but I think I might be able to work that out.

    For now though, you could completely disable the mouseover pause, add the highlighted as shown to the on page init:

    Code:
    <script type="text/javascript">
    
    
    var mygallery=new fadeSlideShow({
    	wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    	dimensions: [1400, 450], //width/height of gallery in pixels. Should reflect dimensions of largest image
    	imagearray: [
    		["http://www.cmidemolition.co.uk/v2/waste-type-banner/1.gif"],
    		["http://www.cmidemolition.co.uk/v2/waste-type-banner/2.gif"],
    		["http://www.cmidemolition.co.uk/v2/waste-type-banner/3.gif"],
    		["http://www.cmidemolition.co.uk/v2/waste-type-banner/4.gif"],		
    		["http://www.cmidemolition.co.uk/v2/waste-type-banner/5.gif"],
    		["http://www.cmidemolition.co.uk/v2/waste-type-banner/6.gif"] //<--no trailing comma after very last image element!
    	],
    	displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
    	persist: false, //remember last viewed slide and recall within same session?
    	fadeduration: 500, //transition duration (milliseconds)
    	descreveal: "ondemand",
    	togglerid: "",
    	oninit: function(){
    		var sObj = this.setting;
    		sObj.$wrapperdiv.bind('mouseenter', function(){sObj.ismouseover = false;});
    	}
    })
    
    </script>
    Don't miss the added comma (red) after the togglerid value.

    The browser cache may need to be cleared and/or the page refreshed to see changes.
    Last edited by jscheuer1; 06-18-2013 at 03:57 PM. Reason: spelling
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2012
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Wow, legend! That bit of code has done the trick and it starts immediately. Is there anything you don't know with this stuff? lol

Similar Threads

  1. Stop Slideshow from starting automatically
    By kmk in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 09-14-2012, 02:08 AM
  2. Stop slideshow from starting over
    By Ponder in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 05-26-2012, 03:23 PM
  3. Slideshow not always starting
    By lio in forum Dynamic Drive scripts help
    Replies: 31
    Last Post: 03-30-2010, 02:47 PM
  4. Ultimate Fade-in slideshow (v1.51) / starting script with setTimeout
    By rooon in forum Dynamic Drive scripts help
    Replies: 12
    Last Post: 08-31-2007, 04:45 PM
  5. Replies: 3
    Last Post: 07-11-2006, 07:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •