Grow your CSS skills. Land your dream job.

Two links to the same Shadowbox – Image duplication issue

  • # March 26, 2013 at 8:17 am

    Here’s a question… I have a gallery that opens up when you click a thumbnail image or the text link below the thumbnail image. Shadowbox sees the text link to the first image (which is a duplicate of the thumbnail link) after the other image links and then therefore shows a duplicate image as the last image in the set. I don’t know how to get round this…I feel like it’s an easy fix but it’s not something I’ve come across before.

    I’ve stripped this right back






    Photo Gallery

    See more images

    Any ideas?

    # March 26, 2013 at 8:24 am

    I’d like to see a live link but I can’t help that this is a selector or JS error.

    # March 26, 2013 at 8:53 am

    Thanks, I am lousy at anything JS related. However I just worked via google out if I give my first link an ID then I can use this

    Link2

    and that does the trick. I’ve solved this myself in the end but I’m sure this thread will be of use to someone at some point.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".