SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Apr 2009
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Jquery multiple gallery help

    Hi

    I have got 4 versions of the same jquery gallery slideshow on my webpage and is all working ok but got one small issue, hopefully can be fixed

    The jquery slideshow I am using is below

    http://www.coffeescripter.com/code/a...ry/#ad-image-0

    If I can click on one of the thumbnails in one of the galleries, all the other 3 change to that thumbnail as well, is there anyway to stop that from happening so they all work seperatly, do I need to call them different id's or something

    My webpage with the 4 galleries is below

    http://www.irhwebsites.co.uk/sites/t...php#ad-image-0

    Kind regards

    Ian

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,941
    Mentioned
    215 Post(s)
    Tagged
    12 Thread(s)
    Hi there,

    Quote Originally Posted by ianhaney View Post
    do I need to call them different id's or something
    You hit the nail on the head.
    Ids should be unique to a page (i.e. no two elements should have the same id).

    If you change the gallery ids and the JS accordingly, this should solve your problem.


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
  •