Results 1 to 4 of 4

Thread: Ultimate Fade In Slideshow--Freezes on ipad and iphone

  1. #1
    Join Date
    Jan 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade In Slideshow--Freezes on ipad and iphone

    Script Title: Ultimate Fade-in Slideshow

    The slide show freezes when you touch the screen of an ipad or iphone. Is there a way to correct this?
    I using v.2.1...has this been addressed in v2.4

    Is this something to do with the mouseover function that pauses the show and then resumes the show when you mouseout? are there functions that address a touchscreen like the ipad or iphone.

    Thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,138
    Thanks
    44
    Thanked 3,231 Times in 3,192 Posts
    Blog Entries
    12

    Default

    Not having either of those devices I can't say with certainty if the mouseover pause function is the cause. I can say with certainty that there aren't any functions that specifically address the ipad or iphone.

    We can try disabling mouseover pause in touch devices to see if it fixes the problem (right click and 'Save As'):

    fadeslideshow.js

    Use that version of the script. It also fixes other issues that might bear on this. The browser cache may need to be cleared and/or the page refreshed to see changes.
    - John
    ________________________

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

  3. #3
    Join Date
    Aug 2004
    Posts
    9,911
    Thanks
    3
    Thanked 969 Times in 957 Posts
    Blog Entries
    15

    Default

    Hi John:
    Just curious, when you say:

    It also fixes other issues that might bear on this.
    What are those?
    DD Admin

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,138
    Thanks
    44
    Thanked 3,231 Times in 3,192 Posts
    Blog Entries
    12

    Default

    If the mouse is over the image when the page first loads, it might cause the first image to not load. I've seen this in IE and I think one other, not sure. So it's unlikely to happen on an iphone or pad, but might. Here's the full range of what's in my version:

    http://www.dynamicdrive.com/forums/s...188#post260188

    All I added to that code for this person was (to the routines a method of detecting touch screens):

    Code:
    istouch: !!window.Touch || !!window.onmsgesturechange || (window.DocumentTouch && window.document instanceof window.DocumentTouch)
    And then using that, disabled the mouseover pause here (already modified as outlined in the notes for that post I just linked to, additional modifications red):

    Code:
    		function loaded_or_error(){
    			$loadingimg.hide()
    			if(!fadeSlideShow.routines.istouch){
    				setting.$wrapperdiv.bind('mouseenter', function(){setting.ismouseover=true}) //pause slideshow mouseover
    			}
    			slideshow.showslide(setting.curimage)
    		}
    		if ($curimage.get(0).complete){loaded_or_error(); //accounf for IE firing image.onload too soon for cached and small images
    		} else { //initialize slideshow when first image has fully loaded or errors out
    			$(new Image()).bind('load error', loaded_or_error).attr('src', $curimage.attr('src'));
    		}
    But, as I told them, I have no idea if it will do any good for their problem. Worth a try. I tend to imagine not. Don't those devices ignore javascript mouseover/out anyway? If so, the above change and the changes already for this version should do nothing for them. Always worth testing though. Perhaps if they also have code on the page that translates mouseover/out events to gestures, well then maybe we would have a fix here.
    - John
    ________________________

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

Similar Threads

  1. Does any lighbox style of script work on iPhone/iPad and Android phones?
    By mlegg in forum Looking for such a script or service
    Replies: 3
    Last Post: 08-31-2012, 12:21 AM
  2. Replies: 3
    Last Post: 07-22-2012, 11:25 PM
  3. AnyLink JS Drop Down - link not working on iDevices (iPhone/iPad)
    By neoboy14 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 10-12-2011, 03:32 PM
  4. Ultimate Fade-in slideshow not displaying on iPhone!
    By chiagerald in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 10-05-2011, 06:50 AM
  5. Replies: 0
    Last Post: 06-21-2011, 07:45 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
  •