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

javascriptÎÞ·ì¹ö¶¯Ô´Âë

MarqueeͼƬÎÞ·ì¹ö¶¯¹Ø¼ü´Ê£º Marquee                                          
ÏÈÁ˽âһ϶ÔÏóµÄ¼¸¸öµÄÊôÐÔ£º
innerHTML:ÉèÖûò»ñȡλÓÚ¶ÔÏóÆðʼºÍ½áÊø±êÇ©ÄÚµÄ HTML
scrollHeight: »ñÈ¡¶ÔÏóµÄ¹ö¶¯¸ß¶È¡£
scrollLeft:ÉèÖûò»ñȡλÓÚ¶ÔÏó×ó±ß½çºÍ´°¿ÚÖÐÄ¿Ç°¿É¼ûÄÚÈݵÄ×î×ó¶ËÖ®¼äµÄ¾àÀë
scrollTop:ÉèÖûò»ñȡλÓÚ¶ÔÏó×¶ËºÍ´°¿ÚÖпɼûÄÚÈݵÄ×¶ËÖ®¼äµÄ¾àÀë
scrollWidth:»ñÈ¡¶ÔÏóµÄ¹ö¶¯¿í¶È
offsetHeight:»ñÈ¡¶ÔÏóÏà¶ÔÓÚ°æÃæ»òÓɸ¸×ø±ê offsetParent ÊôÐÔÖ¸¶¨µÄ¸¸×ø±êµÄ¸ß¶È
offsetLeft:»ñÈ¡¶ÔÏóÏà¶ÔÓÚ°æÃæ»òÓÉ offsetParent ÊôÐÔÖ¸¶¨µÄ¸¸×ø±êµÄ¼ÆËã×ó²àλÖÃ
offsetTop:»ñÈ¡¶ÔÏóÏà¶ÔÓÚ°æÃæ»òÓÉ offsetTop ÊôÐÔÖ¸¶¨µÄ¸¸×ø±êµÄ¼ÆË㶥¶ËλÖÃ
offsetWidth:»ñÈ¡¶ÔÏóÏà¶ÔÓÚ°æÃæ»òÓɸ¸×ø±ê offsetParent ÊôÐÔÖ¸¶¨µÄ¸¸×ø±êµÄ¿í¶È
ͼƬÉÏÎÞ·ì¹ö¶¯
<style type="text/css">
<!--
#demo {
 background: #FFF;
 overflow:hidden;
 border: 1px dashed #CCC;
 height: 100px;
 text-align: center;
 float: left;
}
#demo img {
 border: 3px solid #F2F2F2;
 display: block;
}
-->
</style>
ÏòÉϹö¶¯
<div id="demo">
<div id="demo1">
<a href="#"><img src="http://www.m663.com/logo/mlwl.gif" border="0" /></a>
<a href="#"><img src="http://www.m663.com/logo/mlwl.gif" border="0" /></a>
<a href="#"><img src="http://www.m663.com/logo/mlwl.gif" border="0" /></a>
<a href="#"><img src="http://www.m663.com/logo/mlwl.gif" border="0" /></a>
<a href="#"><img src="http://www.m663.com/logo/mlwl.gif" border="0" /></a>
</div>
<div id="demo2"></div>
</div>
<script>
<!--
var speed=10; //Êý×ÖÔ½´óËÙ¶ÈÔ½Âý
var tab=document.getElementById("demo");
var tab1=document.getElementById("demo1");
var tab2=document.getElementById("demo2");
tab2.inn


Ïà¹ØÎĵµ£º

Javascript¿ª·¢Ö®jsѹËõƪ

YUI Compressor ѹËõ JavaScript µÄÄÚÈÝ°üÀ¨£º
ÒƳý×¢ÊÍ
ÒƳý¶îÍâµÄ¿Õ¸ñ
ϸ΢ÓÅ»¯
±êʶ·ûÌæ»»£¨Identifier Replacement£©
YUI Compressor °üÀ¨ÄÄЩϸ΢ÓÅ»¯ÄØ£¿
object["property"] £¬Èç¹ûÊôÐÔÃûÊǺϷ¨µÄ JavaScript ±êʶ·û£¨×¢£ººÏ·¨µÄ JavaScript ±êʶ·û——ÓÉÒ»¸ö×Öĸ¿ªÍ·£¬ÆäºóÑ¡ÔñÐԵؼÓÉÏÒ»¸ö»òÕ ......

javascript ¶¯Ì¬¸øIFRAMEÌí¼ÓÊý¾Ý


<iframe width='100%' height='100%' name='boot' id='boot' src='' frameborder='0' scrolling='no'></iframe>
<SCRIPT   LANGUAGE="JavaScript">  
<!--  
var iframe = window.frames['boot'];
iframe.document.open();
iframe.document.write('<!DOCTY ......

Javascript ÀàºÍÃüÃû¿Õ¼äµÄ¶¨Òå

//1.Àà
function Test(id)
{
     this.id=id;
     this.method=function()
         {
            //´úÂë
         };
}
......

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

$(document).ready(function() {
        var Sys = {};
        var ua = navigator.userAgent.toLowerCase();
        if (window.ActiveXObject)
        &nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ