Forum Moderators: open

Message Too Old, No Replies

Image gallery 'Next' and 'Previous' links

Need to create in VBScript

         

tintin99

10:12 pm on Sep 26, 2007 (gmt 0)

10+ Year Member



Hi,

I've created an image gallery which uses a 'For Each Item in FolderObj.Files' loop to get the image filenames from a folder and display thumbnails which can be clicked to show the large image in an iframe. So far so good!

Now I need to create 'Next' and 'Previous' links which work in tandem with the thumbnails. I'm really stuck on this...been Googling for a couple of hours but going round in circles. Can anyone help?

Thanks in anticipation!

phranque

11:24 pm on Sep 26, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



if you search for something like "ASP photo gallery script" you should be well rewarded...

tintin99

8:08 am on Sep 27, 2007 (gmt 0)

10+ Year Member



Thanks for the reply phranque, but I don't really want to go back to square one as I already have a script that works well as far as it goes.

What I really need to know is whether it's possible to extend what I've already got. For example, is there a way of using the MoveNext and MovePrevious methods in conjunction with a FolderObj.Files collection? I have done a lot of Googling on this but to no avail.

Any ideas?

tintin99

11:08 pm on Sep 27, 2007 (gmt 0)

10+ Year Member



Looks like I may need to use a disconnected recordset! Will give it a try.