Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | JavaScript | Window | Q118 [ previous next ]

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

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?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.