Results 1 to 3 of 3

Thread: Image Thumbnail Viewer II - Next and Previous Links

  1. #1
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Thumbnail Viewer II - Next and Previous Links

    1) Script Title: Image Thumbnail Viewer II

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...thumbnail2.htm

    3) Describe problem: Hi everyone. The script works great but I've been asked to provide a next and previous link beside each image (even though the entire gallery is thumbnailed beside the main picture). Since the file name never changes, what should I pass as a link to my anchor tags to go forward and back one picture at a time?

  2. #2
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I've figured it out. Feel a bit dumb, all it needed was an onclick in my next anchor link

  3. #3
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Actually, it turns out I'm dumber than I thought. The above solution really isn't a solution at all. That only works for linking from the first image to the second one. I still need to find a way of detecting what image is being displayed as the main image, and then dynamically generating the next and previous links. I hope all that made sense. Thanks to anyone who can have a go.

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
  •