|          
在程序中套用BehaviorBehavior是"style"的成员之一,只要在标签中设定"ID"名称,就可以用Script程序,来设定或改变Behavior
 <html>
 <head>
 <title>xmllover</title>
 <script language="vbscript">
 sub add_Behavior()
 text1.style.Behavior="url(1,htc)"
 //1.htc见(学习笔记一)
 end sub
 </script>
 </head>
 
 <body onload="add_Behavior()">
 <center style="font-size:24;cursor:hand">
 <p id="text1">我是xmllover我怕谁</p>
 <p>--万能五笔就是我--</p>
 </center>
 </body>
 </html>
 |