⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 activebullet_source.html

📁 this gives details of the network programming
💻 HTML
字号:
<HEAD><TITLE>Source for Active Bullets</TITLE><LINK rel=stylesheet type=text/css HREF=../../style/jsdemo.css></HEAD><BODY BGCOLOR=#CCCCCC MARGINHEIGHT=0 MARGINWIDTH=0 TOPMARGIN=0  LEFTMARGIN=0><TABLE bgColor=#8899aa border=0 cellPadding=4 cellSpacing=0 width=100%>  <TR>    <TD class=title>&nbsp NetProg 2002: Source for Active Bullets </TD> </TR>  <TR bgColor=black height=10><TD CLASS=menu> </TD></TR></TABLE><DIV CLASS=page><BR><BR><P><CENTER><TABLE BORDER=0 BGCOLOR=#8899aa CELLPADDING=5><TR><TD><TABLE bgcolor=white BORDER=0 CELLPADDING=10><TR><TD><PRE class=codebox>&lt;HEAD>
&lt;TITLE>Netprog JavaScript Demos - Active Bullets&lt;/TITLE>

&lt;SCRIPT LANGUAGE=JavaScript><SPAN CLASS=code>
&lt;!--
// Image 
function cookiepic(theImage) {
    theImage.src="smallcookie.gif";
}

function buttonpic(theImage) {
    theImage.src="smallbutton.gif";
}

function stoprot() {
    window.stop();
}


// -->
</SPAN>&lt;/SCRIPT>

&lt;TABLE>
&lt;TR>&lt;TD>
&lt;H2>Move the mouse over a bullet&lt;/H2>

&lt;DL style="font-family: Helvetica; font-size: 16pt">
&lt;DT>&lt;/DT>&lt;DD>
&lt;A HREF=foo onMouseOver="<SPAN CLASS=code>cookiepic(document.image1);</SPAN>"
            onMouseOut="<SPAN CLASS=code>buttonpic(document.image1);</SPAN>"
            onClick='alert("Recipies!");return(false)'> 

&lt;IMG name=image1 BORDER=0 SRC=smallbutton.gif ALIGN=TOP>&lt;/A>
Cookie Recipies
&lt;/DD>

&lt;DT>&lt;/DT>&lt;DD>
&lt;A HREF=foo onMouseOver="<SPAN CLASS=code>cookiepic(document.image2);</SPAN>"
            onMouseOut="<SPAN CLASS=code>buttonpic(document.image2);</SPAN>"
            onClick='alert("Ingredients!");return(false)'> 

&lt;IMG name=image2 BORDER=0 SRC=smallbutton.gif ALIGN=TOP>&lt;/A>
Ingredients
&lt;/DD>

&lt;DT>&lt;/DT>&lt;DD>
&lt;A HREF=foo onMouseOver="<SPAN CLASS=code>cookiepic(document.image3);</SPAN>"
            onMouseOut="<SPAN CLASS=code>buttonpic(document.image3);</SPAN>"
            onClick='alert("Utencils!");return(false)'> 

&lt;IMG name=image3 BORDER=0 SRC=smallbutton.gif ALIGN=TOP>&lt;/A>
Utencils
&lt;/DD>
&lt;/DL>
&lt;/TD>
&lt;TD> &lt;A HREF=foo onClick="<SPAN CLASS=code>stoprot(); return(false);</SPAN>">
&lt;IMG BORDER=0 SRC=rotate.gif >&lt;/A>
&lt;/TD>&lt;/TR>&lt;/TABLE>

&lt;HR>

The bullets change when the mouse moves over them. If you click on a bullet
it will bring up an alert.&lt;BR>
You can stop the spinning cookie by clicking on it.


</PRE></TD></TR></TABLE></TD></TR></TABLE></CENTER></DIV>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -