Click to See Complete Forum and Search --> : Picture Gallery Loading...


Hooded_Villian
10-19-2008, 12:03 PM
I have a home page I am working on. On it, are thumbnail images. What I would like to achieve, is that when a thumbnail is clicked, it will open up on another page (eg gallery.html) Within a certain <div> tag (eg: <div id=photo)

Once the photo is viewed, and the visitor returns to the home page and wishes to view another thumbnail, they click and are taken back to the same page (gallery.html) but the new photo is opened up within <div id=photo>

I am hoping to get this kind of effect without using Javascript.

I have been playing around and testing with the target=# attribute, but to no avail.

:confused:

Hooded_Villian
10-19-2008, 01:28 PM
Did some research and apparently, it will only work with frames. So I've made a frame and have no problem getting my content to open up inside the frame if its on the same page, but how do I get it to open up inside the frame if the content is on another page?

<a href="gallery.html" target="box"><img src="photo.jpg" title="photo" border="0" /></a>
<center><iframe class="galleryImage" name="box" frameborder="0" scrolling="auto"></iframe></center>

Hooded_Villian
10-19-2008, 03:05 PM
Still not winning... All I can think of it to create a seperate html doc for each and every single photo.

Hooded_Villian
11-03-2008, 05:20 PM
Could really use someones opinion on this topic. Must I try using php? When an image is clicked, it will open in the a reused html doc, but just in the place of a set target (box)?