Stevishere
01-01-2010, 01:18 PM
1) Script Title: :: Ultimate Fade-in slideshow (v2.1)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: The Ultimate Fade In Slideshow is great. Easy, does jujst what I need, except...
I only have 6 slides in my array. I want it to cycle once, which it does. I want the last slide to be the remaining static slide instead of the returning to the first.
The only way I have found to accomplish this is to set persist to false and modify line 25 of fadeslideshow.js as
[CODE] setting.curimage=setting.curimage || 5 //account for curimage being null if cookie is empty -----SteveH set last slide to default if Cookie Empty [CODE]
The thing I do not like about this hack is that anytime we change the number of slide in the array, the js must also be modified.
Any suggestions?
Thanks!
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: The Ultimate Fade In Slideshow is great. Easy, does jujst what I need, except...
I only have 6 slides in my array. I want it to cycle once, which it does. I want the last slide to be the remaining static slide instead of the returning to the first.
The only way I have found to accomplish this is to set persist to false and modify line 25 of fadeslideshow.js as
[CODE] setting.curimage=setting.curimage || 5 //account for curimage being null if cookie is empty -----SteveH set last slide to default if Cookie Empty [CODE]
The thing I do not like about this hack is that anytime we change the number of slide in the array, the js must also be modified.
Any suggestions?
Thanks!