PDA

View Full Version : New window with image and text


TheBaldOne
07-03-2007, 07:42 PM
Right than people a simple one I hope!

Im adding some images to a website and have used a behaviour that when you single click on the thumbnail a new window opens with the larger image within it. Below is the code the behaviour creates:

<img src="images/thumbnails/home/135_banks_rd_detail.jpg" width="94" height="60" border="1" onClick="MM_openBrWindow('images/main_image/home/135_banks_rd_detail.jpg','','width=725,height=500' )">

What I want to do is add a single text line below the image in the new window. Ive had a play with the code but im afraid I cant do it.

Can someone help????

domedia
07-03-2007, 07:48 PM
The script you are using is only popping up the image, so yo have 2 options:

1. Add the text to the image
2. Open a regular pop-up instead, a html page. Then you can edit this html page however you wish.

Someone asked the same question a week or two ago.. there might be a batter answer there. Search the forum a little and see if you can find it.

TheBaldOne
07-03-2007, 09:19 PM
Thank you for your help

Unfortunatley you told me what I didnt want to know... umpteen photos to either add the text too or create a simple page for each image.

Thanks for the hint that another had asked a similar question, found it and digested it!

Cheers
TheBaldOne

domedia
07-03-2007, 09:51 PM
Which thread was it? Can you link it in here for other users visiting this thread? 8)