Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Lightbox and file_get_contents issue

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #157673
    Dave Hallett
    Participant

    Hey all.

    I am a bit lost in trying to solve this problem.

    I have an ordered list with list items with anchors.

    When an anchor is clicked I want a lightbox to appear with some content in. I can do this for one link but the problem is that I have 6 list items with anchors, which I want each to display different content.

    I thought I could do something like this

    etc etc

    The problem is now I get all the content in the lightbox for all six no matter which link I click.

    Here is a live link

    #157703
    __
    Participant

    You need to either format your code in code blocks, so it will display properly on the forum, or use an external service like codepen or make a gist on github.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.