Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q118 How can I popup a window with an image in it using onMouseOver on either a word or an image?

You are here: irt.org | FAQ | JavaScript | Window | Q118 [ previous next ]

Try something like this:

<SCRIPT LANGUAGE="JavaSscript"><!--
function MakeAnotherWindow(imageName,imageHeight,imageWidth) {
    myFloater=window.open("","myWindow","width="+imageWidth+",height="+imageHeight);
    myFloater.location.href = imageName;
}
//--></SCRIPT>

<A HREF="whatever.html" onMouseOver="MakeAnotherWindow('myImage.gif',100,200)" onMouseOut="myFloater.close()">text or image here</A>

Feedback on 'Q118 How can I popup a window with an image in it using onMouseOver on either a word or an image?'

©2018 Martin Webb