
11-05-2009, 06:48 AM
|
 |
Ultimate Babbler
|
|
Join Date: Jun 2009
Location: Kent, England
Posts: 1,335
|
|
Quote:
Originally Posted by novicer
I am trying to get this image ("../promotion%20pays%20products/WB%204000.jpg") to show up in a small window when the image is clicked. I did try your code and it works, but it is opening up to my website, not my image. I would like my image to show up in the window.
below is the link you provided me that I have used and it works but only links to my website not to my image...
<a href="#" onclick="window.open('http://www.promotionpay.com','', 'width=600,height=600,left=0,top=0,resizable=yes,m enubar=no,location=yes,status=yes,scrollbars=yes') ;"><img src="/promotion_pays_products/WB_4000.jpg" width="" height="" alt="image" />
<img alt="water bottles " height="192" src="../promotion%20pays%20products/WB%204000.jpg" width="128" class="style57" /></a><br />
|
Try this:
Code:
<a href="#" onclick="window.open('../promotion%20pays%20products/WB%204000.jpg','', 'width=600,height=600,left=0,top=0,resizable=yes,menubar=no,location=yes,status=yes,scrollbars=yes');"><img src="/promotion_pays_products/WB_4000.jpg" width="" height="" alt="image" /><img alt="water bottles " height="192" src="../promotion%20pays%20products/WB%204000.jpg" width="128" class="style57" /></a><br />
|