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

Javascript֮ͼƬÅÜÂíµÆ

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>ͼƬÅÜÂíµÆ</title>
</head>
<body>
    <div align="center" id="demo" style="overflow: hidden; height: 33px; width: 400px;
        border-width: 1px 1px 1px 1px; border-style: dotted dotted dotted dotted;">
        <table border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td id="demo1">
                    <img src="images/logo_1.gif"><img src="images/logo/flashempire.gif"><img src="images/logo.gif"><img
                        src="images/logo_1.gif"><img src="images/logo_1.gif"><img src="images/logo/flashempire.gif"><img
                            src="images/logo.gif"><img src="images/logo_1.gif"><img src="images/logo/flashempire.gif"></td>
                <td id="demo2">
                </td>
            </tr>
        </table>
    </div>
<script language="javascript" type="text/javascript">
<!--
var demo = document.getElementById("demo");
var demo1 = document.getElementB


Ïà¹ØÎĵµ£º

javascriptÖе÷ÓÃdelphiº¯Êý


ÒÔÏÂÊÇtest.htmÒ³µÄÄÚÈÝ
Ê×Ïȶ¨ÒåÒ»¸ö²å¼þ¶ÔÏó
 
<object id="Mapupload" name="Mapupload" width="0" height="0" classid="clsid:045FA9B9-B373-4D4C-AE76-128A19A4B6AE">
</object>
<script type="text/javascript">
//´Ëº¯Êý´ò¿ªactivexform´°Ì岢Ϊactiv ......

JavaScriptѧϰ±Ê¼Ç£¨¶þ£©

1.ECMAScriptµÄ»ù´¡¸ÅÄîÈçÏ£º
Çø·Ö´óСд
±äÁ¿Ê±ÈõÀàÐ͵Ä
ÿÐнáβµÄ·ÖºÅ¿ÉÓпÉÎÞ
×¢ÊÍÓëJava¡¢CºÍPHPÓïÑÔÏàͬ
»¨À¨ºÅ±íÃ÷´úÂë¿é
2.ÓëPython²»Í¬£¬ECMAScriptÖеıäÁ¿²»Ò»¶¨Òª³õʼ»¯£¬È磺
      var test;   //ÕýÈ·
3.±äÁ¿ÃûÐèÒª×ñÊØÁ½Ìõ¼òµ¥µÄ¹æÔò£º
µÚÒ»¸ö×Ö·û±ØÐëÊÇ×Öĸ¡ ......

JavaScript »ñÈ¡¿Í»§¶Ë¼ÆËã»úÓ²¼þ¼°ÏµÍ³ÐÅÏ¢(×ªÔØ)

ͨ¹ýWMIÀ´ÊµÏÖ»ñÈ¡¿Í»§¶Ë¼ÆËã»úÓ²¼þ¼°ÏµÍ³ÐÅÏ¢:
1//ϵͳÐÅÏ¢»ñÈ¡
2function getSysInfo(){
3 var locator = new ActiveXObject ("WbemScripting.SWbemLocator");
4 var service = locator.ConnectServer(".");
5 //CPUÐÅÏ¢
6 var cpu = new Enumerator (service.ExecQuery("SELECT * from Win32_Processor")).item(); ......

javascriptѧϰÈÕÖ¾¶þ

1¡¢ÔËËã·û++ΪÀÛ¼Ó£¬Èôx=5£¬y=++x£¬Ôòy=6£»ÔËËã·û- -ΪµÝ¼õ£¬Èôx=5£¬y=--x,Ôòy=4
2¡¢Ìõ¼þÔËËã·û£ºgreeting=(visitor= =”PRES”)?”Dear President”:”Dear”;
Èç¹û±äÁ¿visitorÖеÄÖµÊÇ“PRES”£¬ÔòÏò±äÁ¿greeting¸³Öµ“Dear President”,·ñÔò¸³Öµ“Dear” ......

Javascript CSS¼ÇÊÂ

×¢£º"elm"´ú±íij¸öDOMÔªËØ£¬"xxx"´ú±íij¸öCSSÊôÐÔ
Ò»¡¢elm.style.xxx  Ö»ÄÜ»ñÈ¡ÄÚÁªÑùʽÀïµÄÖµ
ÒªÏë»ñµÃÕýÈ·µÄcssÖµ£º
IE£ºelm.currentStyle[xxx]
W3C±ê×¼£ºdocument.defaultView.getComputedStyle(elm,"")[xxx]
×¢Ò⣺ÓÃIE·½·¨·µ»ØÖµ¿ÉÄܲ»ÊÇÊý×Ö£¬¶øÊÇauto£»ÓÃw3cµÄ·½·¨×ÜÊǻ᷵»ØÊý×Ö+µ¥Î»
Èý¡¢offsetLeft
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ