faqts : Computers : Internet : Web : HTML

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 8 people (88%) answered Yes
Recently 7 of 8 people (88%) answered Yes

Entry

How can I display a pop up image by clicking a link?

Oct 17th, 2001 15:33
Ben Gordon, Joćo Martins,


I think this should work for you 
<a href="somepage.com"
onClick="window.open('brickbg.gif','mywindow','width=200,height=200'); return false">click this link</a>
just change the name of the gif/jpg you want to display and also change the width/height so that it is the same size as the image.