Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

photos - frames required?

Status
Not open for further replies.

bmoney

Technical User
Dec 13, 2001
6
US
I am building a page to display photos and I would like some advice about how to layout my page. Not sure if frames are the way to go.

Here's what I want to do. I would like thumbnails on the right side, when the thumbnail is clicked, I want the larger version of the photo to appear on the left side. Currently I am using 2 frames (left and right) since I couldn't figure out another way to get the image to appear on the left side of the page. Are frames the only option to generate this type of behavior?

Also, any tips on how to generate the thumbnails? I thought there was a batch process thumbnails somewhere in dreamweaver, but I can't find it.

Thanks! :)
 
you can acheive this without frames.

you could do this by having a transparent spacer image on the left hand side. this will just be used as a place marker.

when you click on a thumbnail you can replace the source of the spacer image.

the code for the thumbnails would look something like...

<img src=&quot;[this is a thumbnail].gif&quot; onClick=&quot;changer('fullSizedImage.gif')&quot;>

...the spacer...

<img src=&quot;[this is a spacer].gif&quot; id=&quot;placerMarker&quot;>

...and the function...

function changer(image)
{
placeMarker.src = image;
}

...or something like that.

hope this helps,

ss
 
thanks for the tips. I ended up using the extensions. ;)
 
ward, Sorry, I can't offer any advice. I'm not too familiar with that feature. ;(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top