The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

How Do i Apply The Same External JavaScript File To Different Elements, And Different Results.

  • Anonymous
    # February 1, 2013 at 6:10 pm

    Basically what i’m asking for is how can i apply the same functions of an external Javacript file, to multiple images each loading a different image? You can better see what i mean by looking [Here]( “”) if you click on the first image a pop-up appears. I want the pop-up to appear when clicking the other images, but i want it to load a different image corresponding to the one clicked.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed