Forum Moderators: open

Message Too Old, No Replies

How do I made a thumbnail open in a larger window.

         

midi25

10:27 am on Jan 11, 2005 (gmt 0)

10+ Year Member



What is the best procdure for this?

Making a thumbnail. So that the user can click on it and it opens in a larger window.

I,m trying to make a table that will have 4 thumbnails in that the client can then click. and each thumb will open in a new window.

Thanks

limbo

11:08 am on Jan 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



add target="_blank" attribute to your link or use a popup. It's good practice to let your users know a new window is opening in either case.

midi25

12:56 pm on Jan 11, 2005 (gmt 0)

10+ Year Member



How do I create a pop up.

I was thinking of doing something like this.

eg :

<table>
<tr><td><img src="housepic.gif"></td></tr>
</table>

When creating a thumbnail do I set the img width and height small? And a bit lost on how to do it.

Thanks

limbo

3:52 pm on Jan 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You'll need image editing software to create your thumbnail of the full size photo - you could also use server side scripts to auto generate them but that knowledge is beyond me.

Then you can add a popup script to your thumnail anchor. Set the popup perameters to open a popup that contains the full size image.

Try a search for popup scripts - there are many sites out there to choose from.

rocknbil

4:35 pm on Jan 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here's a Javascript answer [webmasterworld.com].