Use JavaScript to produce mouse-move-past pop-up windows
This tutorial describes the design of a window that pops up when you move the mouse over the picture. This pop-up window is a standard page and you can set it to size.
First, add the following code to the Header tab of the page:
<script language= "Javascript" >
var popupwindow_window = null;
function Popupwindow (status,url) {
if (status!= 0) {
if (Popupwindow!= null) popupwindow.focus ();
else {
var popupwindow = open (URL, "Popupwindow", "width=350,height=225");
This sets the size of the pop-up window, with a width of 350 and a height of 225.
Popupwindow_window = Popupwindow;
}
} else {
if (Popupwindow_window!= null) popupwindow_window.close ();
}
}
</SCRIPT>
So how do you invoke this JavaScript script? The specific code is as follows:
This is your link <a href= ""
>
Hspace=0 vspace=0 border=0 alt= "Network" ></A>
So you just move the mouse over the picture picture.gif, it will pop up a width of 350, height of 225 page.
Click
hereTo test the effect page