PDA

View Full Version : Reverse order 'Background Image Slideshow'



robinvanwijk
04-20-2012, 10:21 PM
1) Script Title:
Background Image Slideshow
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex14/bgslide.htm
3) Describe problem:
I used this code and it works perfectly. Thanks a lot for that!
But I was wondering if there's an easy way of reversing the order of range the pictures appear. So instead of beginning at '0' to '1' and further, now beginning at '2' (or whatever the last one is) to '1' and further.
I was hoping it could be possible by just changing one little thing, because I have a lot of images following up and every time I update it with a new one it appears as the last one instead of the first one.
I hope someone can help me with this. Thanks in advance!

Cheers!
(btw This is the url I used it for: http://robinvanwijk.com/clipfart.html)

jscheuer1
04-21-2012, 03:48 AM
. . . es[189]="clipfarts/image_preview.gif"
bgslides[190]="clipfarts/Jinky-girl-look-up-balloonWEB.gif"
bgslides[191]="clipfarts/Cupped_Hands_2_by_cassandra28_stock.gif"
bgslides[192]="clipfarts/Afra.gif"
bgslides[193]="clipfarts/iStock_000009717203Medium.gif"
bgslides[194]="clipfarts/windmillwindup.gif"
bgslides[195]="clipfarts/iStock_000003413016Medium_business-man-with-hands-up.gif"

bgslides.reverse();

var speed=2000

var processed=new Ar . . .

robinvanwijk
04-21-2012, 07:48 AM
Thanks very much, John!