PDA

View Full Version : javascript popup with variable width and height



edwin_tb
09-28-2004, 05:36 AM
Hello,

I have a photoalbum and I can read the width and the height of the photo but now I am searching for a popup script with variable width and height can somebody help me with that?

Many thanks,

Edwin

gigabites
09-28-2004, 06:37 AM
<a href=# onClick="window.open('http://mysite.com/pictures/pict01.jpg','mypicture','width=300, height=300');">picture 01</a>That will open pict01.jpg in a 300px x 300px window.