Results 1 to 3 of 3

Thread: Modifying Advanced Gallery Script

  1. #1
    Join Date
    Nov 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Modifying Advanced Gallery Script

    1) Script Title: Advanced Gallery Script

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex17/agallery.htm

    3) Describe problem: When running in automatic mode, is it possible to stop the Advanced Gallery Script from cycling through the links a 2nd time?

    If so, what changes need to be made to the script?

    Thanks in advance for any advice you can give me!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Sure, try finding the below lines inside the script:

    Code:
    if (displaymode=="auto")
    autocontrolvar=setTimeout("expandone()",tickspeed)
    and modify it with the code in red:

    Code:
    if (displaymode=="auto" && selectedDiv!=0)
    autocontrolvar=setTimeout("expandone()",tickspeed)
    DD Admin

  3. #3
    Join Date
    Nov 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you so much! I spent hours trying to do this, and had finally given up!

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
  •