CSS Photo gallery

notarypublic

New Member
For the website I'm redesigning, I've been engaged in a massive game of intrigue and deception, trying to uncover the origins of all the snippets of code the previous designer used to hack together the current site. To his credit though, he knew to borrow ideas from some interesting sources.

I'm currently updating this page, and after about 20 minutes of searching far and wide, came across a very useful tutorial on making CSS image galleries. The code is clean, fairly simple, but having a few qualms with his design choices, I would like to modify it.

One of the biggest changes to make is to have it change the default image (when the mouse isn't hovering over any other images) to display the image and description of the last item that was clicked. As far as I can tell, doing this in CSS would require a link to a web page for each item that can be clicked.. messy.

Is there a better way?
 

notarypublic

New Member
I've seen javascript tutorials for showing/hiding divs, but nothing seems to fit quite what I'm looking for here. My knowledge of javascript isn't thorough enough to code a solution entirely from scratch.. yet.
 
Top