Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavascriptʵÏÖ¹ö¶¯ÐÂÎÅ

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>¹ö¶¯ÐÂÎÅÀà</title>
<style type="text/css">
body {
    text-align:center;
}
td {
    font-size:12px;
    line-height:20px;
    text-align:left;
}
.marquee {
    width:100%;
    height:100%;
    overflow:hidden;
}
.m {
    height:20px;
}
.m2 {
    height:90px;
}
</style>
</head>
<body>
<table border='1'>
     <tr>
         <td height='20' width='250'><div id='marquee1' class='marquee m'></div></td>
         <td height='20' width='300'><div id='marquee2' class='marquee m'></div></td>
     </tr>
     <tr>
         <td height='99' colspan='2'>»ù±¾ÉϹ»ÓÃÁ˰ɣ¡</td>
     </tr>
     <tr>
         <td height='90' colspan='2'><div id='marquee3' class='marquee m2'></div></td>
     </tr>
</table>
<script language="JavaScript">
function BYMarquee(){
    this.Content = [];    //ÏÔʾÄÚÈÝ
    this.Speed = 20;    //ÉÏÒÆËÙ¶È
    this.Object = {};    //marqueeÈÝÆ÷¶ÔÏó
    this.Pause = true;    //ÊÇ·ñÍ£Áô
    this.Start = function(){
         var o = this.Object;
  &nbs


Ïà¹ØÎĵµ£º

Javascript Closures

Javascript Closures
Introduction
The Resolution of Property Names on Objects
Assignment of Values
Reading of Values
Identifier Resolution, Execution Contexts and Scope Chains
The Execution Context
Scope chains and [[scope]]
Identifier Resolution
Closures
Automatic Garbage Collecti ......

JavaScript µ÷Óúǫ́ʼþºÍ·½·¨

1¡¢ºǫ́·½·¨£º
protected string CsharpVoid(string strCC)
{
strCC = "http://" + strCC;
return strCC;
}
2¡¢Ç°Ì¨Ò³ÃæJavaScript·½·¨£º
<script language="javascript" type="text/javascript">
var v = "www.baidu.com";
var s = '<%=CsharpVoid("'+v+'")%>';
document.write(s);
< ......

JavaScript̰³ÔÉß

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>̰ʳÉß</title></head>
<body>
<mce:style type="text/css"><!--
.tab ......

flex ºÍjavascript»¥Ïàµ÷ÓÃ

flex ºÍjavascript»¥Ïàµ÷Óá£
Ò»¡¢flex µ÷ÓÃjavascript
  Ö»ÐèʹÓþ²Ì¬µÄExternalInterface.call¾Í¿ÉÒÔÁË¡£
  call ·½·¨ÖÁÉÙÒªÇóÒ»¸ö²ÎÊý£¬¾ÍËùµ÷ÓöÊýµÄÃû³Æ¡£
  Ò²¿ÉÒÔ´«µÝ²ÎÊý¡£
  È磺
    ExternalInterface.call("alert","hello");
   "hello"¾ÍÊÇ×÷Ϊalertµ ......

JavaScriptÅжÏä¯ÀÀÆ÷ÀàÐͼ°°æ±¾

      ͨ¹ý·ÖÎö¸÷Ààä¯ÀÀÆ÷µÄuserAgentÐÅÏ¢£¬²»Äѵóö·Ö±æ¸÷Ààä¯ÀÀÆ÷¼°Æä°æ±¾µÄÕýÔò±í´ïʽ¡£¶øÇÒ£¬¶Ôä¯ÀÀÆ÷ÀàÐ͵ÄÅжϺͰ汾µÄÅжÏÍêÈ«¿ÉÒÔºÏΪһÌ嵨½øÐС£ÓÚÊÇ£¬ÎÒÃÇ¿ÉÒÔд³öÏÂÃæµÄ´úÂ룺
    <script type="text/javascript">
       ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ