I got this working well, but I think it's a typo where the instructions say to use a single line text input field, it works best with a radio button, placing "On" and "Off" on their own line in the box that appears.
It would be nice to have javascript spawned windows that are fitted to the size of the image, does anyone know if this can be done by dynamically passing the imge size to the script? I can do it with fixed hyperlinks by passing the new window open size dimensions to java like this:
HTML Code:
<script>
function openpopup(){
var popurl="b4aft.jpg"
winpops=window.open(popurl,"","width=708,height=788,")
}
function openpopup1(){
var popurl="LS.jpg"
winpops=window.open(popurl,"","width=720,height=700,")
}
and then calling each popup named in "openpopup" with it's own href linked thumbnail;
HTML Code:
<td width="25%" height="136" align="center">
<a href="javascript:openpopup()">
<img border="1" src="thumbs/b4aft.jpg" /></a></td>
<td width="25%" height="136" align="center">
<a href="javascript:openpopup1()">
<img border="1" src="thumbs/LS.jpg" /></a></td>
so, anyone know how to "fit" the window to the image like on this page
http://www.lovelybrides.com/images/makeup_pictures.htm