Hey guys,
Im pretty new to html and java. I found this script that I want to use to open up a new window that has a specific size:
[code]
<script type=”text/javascript”> var newwindow; function poptastic(url) { newwindow=window.open(url,’name’,’height=275,width=370,left=500,top=200,resizable=no,scrollbars=no,toolbar=no,status=no’); if (window.focus) {newwindow.focus()} } </script> <a href=”javascript:poptastic(‘http://www.artexproductions.com/video01.htm’);”>Pop it</a>
However, I want to know if there is a way to attach this script to an image so that people can click on a thumbnail of some pic I have that will then open up the window in the defined size… I hope I make sense. Thanks guys for you help!!!!