Log in

View Full Version : Modifying Advanced Gallery Script



kathryn
01-06-2010, 07:21 PM
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!

ddadmin
01-06-2010, 09:13 PM
Sure, try finding the below lines inside the script:


if (displaymode=="auto")
autocontrolvar=setTimeout("expandone()",tickspeed)

and modify it with the code in red:


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

kathryn
01-06-2010, 11:44 PM
Thank you so much! I spent hours trying to do this, and had finally given up!