VatoElvis
11-15-2002, 03:18 AM
I have created a gallery of sorts with thumbnails. I want the thumbs, when clicked, to open a new window.
Here is the code that I am using:
function openWindow() {
popupWin = window.open('http://www.domainname.com/imagename.jpg', 'blank', 'menubar,toolbar,location,directories,status,dependent,width=640,height=480')
}
Here's my question...
I'd really like to have the window open to the width and height of each photo and not to a static, pre-set dimension.
Is this possible, and if so, how is it accomplished?
Thanks in advance,
Marc
Here is the code that I am using:
function openWindow() {
popupWin = window.open('http://www.domainname.com/imagename.jpg', 'blank', 'menubar,toolbar,location,directories,status,dependent,width=640,height=480')
}
Here's my question...
I'd really like to have the window open to the width and height of each photo and not to a static, pre-set dimension.
Is this possible, and if so, how is it accomplished?
Thanks in advance,
Marc