Version compl�te: jsB@nk » Browser » Window » Pop-up window onMouseOver
URL: https://www.javascriptbank.com/popup-onmouseover.html
Il s'agit d'un petit exemple pour but de vous montrer comment créer une «fenêtre pop-up». Le but est que vous pouvez avoir plus d'informations sur votre page Web sans encombrer la composent.
Version compl�te: jsB@nk » Browser » Window » Pop-up window onMouseOver
URL: https://www.javascriptbank.com/popup-onmouseover.html
<script language="JavaScript"><!-- hidingvar newwindow;function showWindow(){ newwindow = window.open("", "newwindow", "toolbar=no,width=300,height=25,top=30,left=30"); newwindow.document.open(); newwindow.document.write("<html><title>The "pop-up window"<\/title><body bgcolor='#C0C0C0' style='margin-left:25px;margin-right:25px;text-align:center' text='#008080'><em>Here is more interesting and useful information for your visitors!<\/em><\/body><\/html>"); newwindow.document.close();}function closeWindow(){ newwindow.close(); }// --></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<a href="http://javascriptbank.com" target="_blank" onclick="return false" style="text-decoration: none;" onmouseover="return showWindow();" onmouseout="return closeWindow();">Mouse over here to see how it works.</a><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->