Tip: you can modify some code before running
<html><head><title></title><meta http-equiv="content-Type" content="text/html;charset=gb2312"></head><body><!--把下面代码加到<body>与</body>之间--><div id="overDiv" ></div><script language="JavaScript">// Main background color (the large area) // Usually a bright color (white, yellow etc) if (typeof fcolor = 'undefined ') {var fcolor = "# FFFFFF";} // Border color and color of caption // Usually a dark color (black, brown etc) if (typeof backcolor = 'undefined ') {var backcolor = "# 0000FF";} // Text color // Usually a dark colorif (typeof textcolor = 'undefined') {var textcolor = "#000000 ";} // Color The caption text // Usually a bright colorif (typeof capcolor = 'undefined') {var capcolor = "# FFFF00 ";} // Color of "Close" when using Sticky // Usually a semi-bright colorif (typeof closecolor = 'undefined') {var closecolor = "# 9999FF ";} // Width of the popups in pixels // 100-300 pixels is typicalif (typeof width = 'undefined') {var width = "200 ";} // How thick the border shocould be in pixels // 1-3 Pixels is typicalif (typeof border = 'undefined') {var border = "1 ";} // How many pixels to the right/left of the cursor to show the popup // Values between 3 and 12 are bestif (typeof offsetx = 'undefined ') {var offsetx = 10;} // How many pixels to the below the cursor to show the popup // Values between 3 and 12 are bestif (typeof offsety = 'undefined ') {var offsety = 10 ;}/////////////////////// //////////////////////////////////////// /// // End configuration /////////////// //////////////////////////////////////// /// // ns4 = (document. layers )? True: falseie4 = (document. all )? True: false // Microsoft Stupidity Check. if (ie4) {if (navigator. userAgent. indexOf ('msie 5')> 0) {ie5 = true;} else {ie5 = false;} else {ie5 = false;} var x = 0; var y = 0; var snow = 0; var sw = 0; var cnt = 0; var dir = 1; var tr = 1; if (ns4) | (ie4) {if (ns4) over = document. overDivif (ie4) over = overDiv. styledocument. onmousemove = mouseMoveif (ns4) document. captureEvents (Event. MOUSEMOVE)} // Public functions to be used on pages. // Simple popup rightfunction drs (text) {dts (1, text);} // Caption popup rightfunction drc (text, title) {dtc (1, text, title );} // Sticky caption rightfunction src (text, title) {stc (1, text, title);} // Simple popup leftfunction dls (text) {dts (0, text );} // Caption popup leftfunction dlc (text, title) {dtc (0, text, title);} // Sticky caption leftfunction slc (text, title) {stc (0, text, title);} // Simple popup centerfunction dcs (text) {dts (2, text);} // Caption popup centerfunction dcc (text, title) {dtc (2, text, title);} // Sticky caption centerfunction scc (text, title) {stc (2, text, title);} // Clears popups if appropriatefunction nd () {if (cnt> = 1) {sw = 0}; if (ns4) | (ie4) {if (sw = 0) {snow = 0; hideObject (over) ;}else {cnt ++ ;}}// Non public functions. these are called by other functions etc. // Simple popupfunction dts (d, text) {txt ="<TABLE WIDTH="+width+" BORDER=0 CELLPADDING="+border+" CELLSPACING=0 BGCOLOR=""+backcolor+""><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR=""+fcolor+""><TR><TD><FONT FACE="Arial,Helvetica" COLOR=""+textcolor+"" SIZE="-2">"+ Text +"</fONT></tD></tR></tABLE></tD></tR></tABLE>"LayerWrite (txt); dir = d; disp () ;}// Caption popupfunction dtc (d, text, title) {txt ="<TABLE WIDTH="+width+" BORDER=0 CELLPADDING="+border+" CELLSPACING=0 BGCOLOR=""+backcolor+""><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><SPAN ID="PTT"><FONT COLOR=""+capcolor+"">"+ Title +"</fONT></sPAN></tD></tR></tABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR=""+fcolor+""><TR><TD><SPAN ID="PST"><FONT COLOR=""+textcolor+"">"+ Text +"</fONT><SPAN></tD></tR></tABLE></tD></tR></tABLE>"LayerWrite (txt); dir = d; disp () ;}// Stickyfunction stc (d, text, title) {sw = 1; cnt = 0; txt ="<TABLE WIDTH="+width+" BORDER=0 CELLPADDING="+border+" CELLSPACING=0 BGCOLOR=""+backcolor+""><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><SPAN ID="PTT"><FONT COLOR=""+capcolor+"">"+ Title +"</fONT></sPAN></tD><TD ALIGN=RIGHT><FONT COLOR=""+closecolor+"">Close</fONT></tD></tR></tABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR=""+fcolor+""><TR><TD><SPAN ID="PST"><FONT COLOR=""+textcolor+"">"+ Text +"</fONT><SPAN></tD></tR></tABLE></tD></tR></tABLE>"LayerWrite (txt); dir = d; disp (); snow = 0;} // Common callsfunction disp () {if (ns4) | (ie4 )) {if (snow = 0) {if (dir = 2) {// CentermoveTo (over, x + offsetx-(width/2), y + offsety );} if (dir = 1) {// RightmoveTo (over, x + offsetx, y + offsety);} if (dir = 0) {// LeftmoveTo (over, x-offsetx-width, y + offsety);} showObject (over); snow = 1 ;}// Here you can make the text goto the statusbar .} // Moves the layerfunction mouseMove (e) {if (ns4) {x = e. pageX; y = e. pageY;} if (ie4) {x = event. x; y = event. y;} if (ie5) {x = event. x + document. body. scrollLeft; y = event. y + document. body. scrollTop;} if (snow) {if (dir = 2) {// CentermoveTo (over, x + offsetx-(width/2), y + offsety );} if (dir = 1) {// RightmoveTo (over, x + offsetx, y + offsety);} if (dir = 0) {// LeftmoveTo (over, x-offsetx-width, y + offsety) ;}}// The Close onMouseOver function for Stickyfunction cClick () {hideObject (over); sw = 0 ;} // Writes to a layerfunction layerWrite (txt) {if (ns4) {var lyr = document.overDiv.doc ument lyr. write (txt) lyr. close ()} else if (ie4) document. all ["overDiv"]. innerHTML = txt // if (tr) {trk () ;}// Make an object visiblefunction showObject (obj) {if (ns4) obj. visibility = "show" else if (ie4) obj. visibility = "visible"} // Hides an objectfunction hideObject (obj) {if (ns4) obj. visibility = "hide" else if (ie4) obj. visibility = "hidden"} // Move a layerfunction moveTo (obj, xL, yL) {obj. left = xL obj. top = yL}</script><table border="1" cellpadding="0" cellspacing="1" width="195" align="center"> <tr align="center"> <td width="83%" height="26">Webpage music player</td> </tr> <tr align="center"> <td width="83%" height="26">Webpage counters</td> </tr> <tr align="center"> <td width="83%" height="26">Voting system</td> </tr> </table></body></html>
Tip: you can modify some code before running