Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 event¶ÔÏó Óë jquery event ½âÎö(ת)

ת×Ô£ºhttp://www.cnblogs.com/mslove/
ÃèÊö
event´ú±íʼþµÄ״̬£¬ÀýÈç´¥·¢event¶ÔÏóµÄÔªËØ¡¢Êó±êµÄλÖü°×´Ì¬¡¢°´ÏµļüµÈµÈ¡£
event¶ÔÏóÖ»ÔÚʼþ·¢ÉúµÄ¹ý³ÌÖвÅÓÐЧ¡£
eventµÄijЩÊôÐÔÖ»¶ÔÌض¨µÄʼþÓÐÒâÒå¡£±ÈÈ磬fromElement ºÍ toElement ÊôÐÔÖ»¶Ô onmouseover ºÍ onmouseout ʼþÓÐÒâÒå¡£
Àý×Ó
ÏÂÃæµÄÀý×Ó¼ì²é ......

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ÈëÃÅÓëÆä¿ò¼ÜJQuery£¬JSONºÍXMLµÄ±È½Ï

µ±Ò³ÃæÔØÈëʱ£¬»áÖ´ÐÐλÓÚ body ²¿·ÖµÄ JavaScript¡£
µ±±»µ÷ÓÃʱ£¬Î»ÓÚ head ²¿·ÖµÄ JavaScript ²Å»á±»Ö´ÐС£
2006Äê1ÔÂ14ÈÕ£¬John Resig ÔÚBarCampNYCÉϵÚÒ»´Î·¢²¼ÁËjQuery¡£
 
JSON(JavaScript Object Notation) ÊÇÒ»ÖÖÇáÁ¿¼¶µÄÊý¾Ý½»»»¸ñʽ¡£Ò×ÓÚÈËÔĶÁºÍ±àд¡£Í¬Ê±Ò²Ò×ÓÚ»úÆ÷½âÎöºÍÉú³É¡£Ëü»ùÓÚJavaScript£¨St ......

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

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

javascript ÔËÐлúÖÆ

ÒÔÏÂÈ«ÊǸöÈËÀí½âÒÔ¼°ÍøÉϲéÕÒ¶øÀ´,ÈçÓ⻶ÔÇëÖ¸Õý...
¼ÙÈçÓÐn¶Îjs´úÂë ÓÃ<script>±êÇ©¸ô¿ªµÄ.
ÔËÐÐ˳ÐòÊÇ
step1. ¶ÁÈëµÚÒ»¸ö´úÂë¶Î
step2. ×öÓï·¨·ÖÎö£¬ÓдíÔò±¨Óï·¨´íÎ󣨱ÈÈçÀ¨ºÅ²»Æ¥ÅäµÈ£©£¬²¢Ìøתµ½step5
step3. ¶Ôvar±äÁ¿ºÍfunction¶¨Òå×ö“Ô¤½âÎö”£¨ÓÀÔ¶²»»á±¨´íµÄ£¬ÒòΪֻ½âÎöÕýÈ·µÄÉùÃ÷£©
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ