Menu
I’m making a page with a simple photo gallery where you click a thumbnail then the larger image appears in a popup. I’ve found a couple of scripts to do that, but you have to explicitly type the path of the image to load into the href for each link. Is there a way to automatically detect and pass the name of the image that was clicked to a function?
Something like: javascript?opupPic(‘images/’+this.name), but not that cos it doesnt work :p
Basically its so i can put that same line into each link and not have to type a different path for each image
Cheers
Tim