JS open window help
i have a page of thumbnails that when clicked i would like to open up in a new window w/ specific size and attributes.
i know how to have each tumbnail open it's own html page w/ specific attributes, but...
is there a way to have each thumbnail open the same html page, but with the appropriate image?
am i making sense?
yeah, keep the target the same name
there are many ways this can be done, one is to have the popup access a global variable in the original window (opener)and then use that variable to doc...write the image
imgSrc = 'http://members.aol.com/grassblad/images/grassblade.gif"
window.open('somename.gif','', the properties you want)
imgSrc = opener.imgSrc
document.write("<img src=" + imgSrc + ">")