Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: Slideshow not always starting

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

    Default Slideshow not always starting

    1) Script Title: VFS script

    2) Script URL (on DD):
    http://www.dynamicdrive.com/
    http://home.comcast.net/~jscheuer1/s.../vac_plain.htm

    3) Describe problem:

    Sometimes the slideshows don't start automatically, and don't start when you click on "run" !
    Help John

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

    Default

    I forgot to give a link to the website where the problem occurs !
    http://www.cecilecailliere.com/travel-pictures.htm

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

    Default

    it happens with Firefox and IE

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    I don't think this is the problem, but on line 108 your markup is wrong:
    Code:
    <img src="galerie_travel_usa.jpg" name="usa" width="180" height="121" border="0" margin-right:80px"></a></p>
    It should be:
    Code:
    <img src="galerie_travel_usa.jpg" name="usa" width="180" height="121" border="0" style="margin-right:80px"></a></p>
    Jeremy | jfein.net

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

    Default

    Thank you Nile, even if this not the reason of the problem I have modified the line

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

    Default

    Is it a problem coming from the script itself or from my code

  7. #7
    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

    First of all, please restore the credit notice to the pages' source code.

    I think it's the script. Use the uncompressed version (right click and 'save as'):

    http://home.comcast.net/~jscheuer1/s...ewfadeslide.js

    That at least fixes the bit about the run button not working as expected. I cannot be sure about the other problem because that only occurs sometimes. But I refreshed it a lot and couldn't get it to do that when using the uncompressed version.
    - John
    ________________________

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

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

    Default

    One credit was missing, sorry for that
    I have modified all the pages with the new js file, that includes the parameters and comments.
    I suppose the script will become "official" next time.

    The problem of slideshows not starting sometimes occurs still after the modifications (I have cleared the IE cache). If you navigate from one galery to another, it will happen after several times. If you refresh the page, the slideshow starts with the fading effekt.

    Thanks for the help

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

    Default

    In fact, the slideshows seem to start everytime, only the fading effekt is sometimes not working !

  10. #10
    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 see you've edited the viewfadeslide.js script. You should not, those are default values. Your on page config will override them where different. That's the only material difference I see between my working version and your occasionally not working one.

    Download the viewfadeslide.js script again, this time use it as is.

    On a side note, this causes a script error and should be removed:

    Code:
    <script type="text/javascript">
    gradualFader.init() //activate gradual fader
    </script>
    But it really isn't hurting anything as far as the current issue goes. Looks bad in some browsers though, and could cause problems down the line with other stuff.

    However, the start of the show is still odd if the images aren't already cached. It works and all, but the first image passes too quickly. There is an entirely different approach to this we could try if you are interested. Since you are already using jQuery for the menu, the Ultimate Fade 2.1 script could be used (with some tweaking) to do this and would result in signifcant code savings, as well as perhaps better performance.
    Last edited by jscheuer1; 02-19-2010 at 01:20 PM. Reason: Add However . . . at end
    - John
    ________________________

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

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
  •