Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32

Thread: Slideshow not always starting

  1. #11
    Join Date
    Jan 2008
    Posts
    72
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    Yes I had edited the viewfadeslide.js file with my parameters and wanted initialy to remove these parameters from my pages... and forgot it !
    So I understand it is better to let the viewfadeslide.js file unchanged and let the personal modifications in the pages.
    I let only one difference, line 44 to avoid that other navslidetittles than 'run' appear sometimes on the pages. But maybe it's not the best way !?

    I have removed the gradualfader script (copy/paste from another website needing it).

    Concerning the automatic start of the show, it's true that the first image appears too quickly with galleries having to many images. I had the idea to add a script that preloads all the images before the slideshow starts, but gived up (obliged to put the different names of all the photos on each page...).
    I have removed the automatic start, but in fact I woul prefer to have it working without problem. I understand there is a possibility with another script ?
    And another problem : I let only the 'run' button, but it works as 'next', maybe I have mixed something

    I appreciate your help

  2. #12
    Join Date
    Jan 2008
    Posts
    72
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    I have navigated again through the different galleries and the fading effekt is sometimes missing. After a page refresh it works normally.
    Hope it helps to solve the issue.

  3. #13
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You seem to always want to do something. My local demo has the viewfadeslaide.js file exactly as is, and the settings that you had on the page exactly as they were. All worked fine, except for that loading business. To fix that, all you might have to do would be to preload the first two or three images. The run button works fine here.

    Anyways though, this script is getting to be a bit outdated. I had hoped to rewrite it at some point, but I see my interest in that has faded. There are other ways to get these effects. But it might be a little tricky to setup. When I have some time I may mock up my idea. Anyway though, what I'm thinking is that with minor modification Ultimate Fade 2.1 can handle the slide show portion of this and be made to respond to thumbnails. I've written that much already. What would be a nice touch would be to have the HTML code for thumbnails be generated automatically. That way you would only have to enter the images once, in the slide show's configuration. Or have the array for the slideshow be generated by the markup of the thumbnails. I'm thinking that since the filenames are the same (thumbs and larger versions), only the folders are different, it might save some typing.
    Last edited by jscheuer1; 02-19-2010 at 04:42 PM. Reason: spelling
    - John
    ________________________

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

  4. #14
    Join Date
    Jan 2008
    Posts
    72
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    Hi John,

    I have put the viewfadeslaide.js file unchanged (except line 44 as mentionned to have only the Run button). I have still the same problem with IE8 or Firefox even if it works fine in most of the cases.

    I will try to make the same based on Ultimate Fade 2.1 and Image Thumbnail Viewer II.

    To simplify the generation of the files on this website, I have put the same name for all the pics of a html file (only the index is changing). And then I change the name in a few click with Dreamweaver.

    In any case thanks for the help ;-)

  5. #15
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It worked here with NO change to the main script and with this as the on page config:

    Code:
    <script type="text/javascript">
    viewfadeslide.config = {enableCaption : {vac: true},
    captionTop : false,
    makeTitle : true,
    hideImgMouseOut : false,
    disableOnmouseover : true,
    populateWithFirst : true,
    enableCount : true,
    enableTransition : true,
    writeNumberButtons : false,
    writeControlButtons : false,
    useButtons : false,
    enableSlideShow : true,
    startSlideShow : true,
    swapControlVals : false,
    slideHoverBehavior : 'none',
    slideTriggerBehavior : 'stop'};
    </script>
    No extra buttons showed up. I'm working on my own jQuery plugin though that will greatly simplify all this. Stay tuned if you're interested. It's shaping up really well.
    - John
    ________________________

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

  6. #16
    Join Date
    Jan 2008
    Posts
    72
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    Withe the viewfadeslaide.js file inchanged and these parameters, I see the extra buttons in the same cases where a sllideshow does not start !
    Could I have a problem on my computer

    Yes I am interested in your own plugin, I will follow that

  7. #17
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That's odd, it worked here:

    http://home.comcast.net/~jscheuer1/side/vfs_2.htm

    Anyways though, as I hinted, I'm not real thrilled with that script. For a number of reasons I'm coming to believe that it's not worth further development, though if we could get it to do what you want it to, I'm not opposed to trying that.

    Here's the current jQuery plugin:

    http://home.comcast.net/~jscheuer1/side/vfs/test_7.htm

    It needs a bit of streamlining, perhaps a few more optional features, testing in Safari and Chrome, but as I say is shaping up very nicely.
    Last edited by jscheuer1; 02-22-2010 at 01:58 AM. Reason: spelling
    - John
    ________________________

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

  8. #18
    Join Date
    Jan 2008
    Posts
    72
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    One page with the new script :
    http://www.cecilecailliere.com/landscapes/nature_2.htm
    Works fine on local.
    Online I have a status bar ; when it is solved I will modify the other galleries and check if it works everytime when surfing in the different galleries, and probably put the main script in an extra file

  9. #19
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I've updated the script:

    http://home.comcast.net/~jscheuer1/side/vfs/test_8.htm

    But it would have the same problem. You should get rid of:

    Code:
    $('.show').slideShow({showback: 'showback', random: true});
    because you have nothing that uses that, when it gets to the random function, it throws an error trying to sort a null object. I may add a fix (test to avoid the error) for that, or rely upon documentation to warn against it.

    There could also be other problems.

    And, from what you've been saying, you might want to change:

    Code:
    $('.vacation_2 img').slideShow({rotaterate: 2000, faderate: 1500, nopause: true, stopped: true, controls: '.show2controls'});
    to:

    Code:
    $('.vacation_2 img').slideShow({rotaterate: 2000, faderate: 1500, controls: '.show2controls'});
    With the updated version of the script, use:

    Code:
    $('.vacation_2').slideShow({rotaterate: 2000, faderate: 1500, controls: '.show2controls'});
    - John
    ________________________

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

  10. #20
    Join Date
    Jan 2008
    Posts
    72
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    I have updated the script and put the code modification and IE shows the message "out of memory at line : 25"

    On local it works fine, and the slideshows starts automatically, which was not the case before

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
  •