Back to Scripts page
Click in the text area below, select all and copy to grab the script
Script listing:
<HTML> <HEAD> <TITLE>Pop Up</TITLE> <SCRIPT TYPE="TEXT/JAVASCRIPT" LANGUAGE=JAVASCRIPT> <!-- Hide script from older browsers function toggleMenu(currElem) { if (document.all) { menuObj = eval("document.all." + currElem + ".style") menuObj.pixelTop = toggleVal(menuObj.pixelTop) } else { menuObj = eval("document." + currElem) menuObj.top = toggleVal(menuObj.top) } } function toggleVal(inVal) { if (inVal == -5) { return -90 } return -5 } // End hiding script --> </SCRIPT> <STYLE TYPE="TEXT/CSS"> .menu {position:absolute; font:12px/14px helvetica; width:75px; background-color:#999999; layer-background-color:#999999; color:#FFFFFF} </STYLE> </HEAD> <BODY BGCOLOR=WHITE> <SPAN ID="fileMenu" CLASS=menu STYLE="left:20px; top:-90px"><BR> <A HREF="javascript:window.open()">Open</A><BR> <A HREF="javascript:window.print()">Print</A><BR> <A HREF="javascript:history.back()">Back</A><BR> <A HREF="javascript:history.forward()">Forward</A><BR> <A HREF="javascript:window.close()">Close</A> <HR> <A HREF="javascript:toggleMenu('fileMenu')">File</A> </SPAN> <SPAN ID="searchMenu" CLASS=menu STYLE="left:100px;top:-90px"><BR> <A HREF="http://www.yahoo.com">Yahoo</A><BR> <A HREF="http://www.excite.com">Excite</A><BR> <A HREF="http://www.hotbot.com">HotBot</A><BR> <A HREF="http://www.lycos.com">Lycos</A><BR> <A HREF="http://www.infoseek.com">Infoseek</A> <HR> <A HREF="javascript:toggleMenu('searchMenu')">Search</A> </SPAN> </BODY> </HTML>