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

Javascript ×î¼òµ¥¼ì²âÍøËٵķ½·¨ºÍÓ¦ÓÃ


ÍøËÙºÜÂý£¬µ«Óֵôò¿ª Flash ÊÇÒ»¼þºÜÍ´¿àµÄÊÂÇ飬ÌرðÊÇ Silverlight À´ÁÙÖ®¼Ê£¬Õâ¸ö¼¼Êõ¿ÉÄÜÓеãÓÃ
¾ßÌå´úÂëÈçÏÂ
<SCRIPT LANGUAGE="JavaScript">
var starttime = new Date()
</SCRIPT>
<img src="images/ConvLogo.JPG?id=<%Int(37462 * Rnd + 32)%>" width=0 height=0 onload="getbandwidth();">
<SCRIPT LANGUAGE="JavaScript">
function getbandwidth()
{
    var filesize = 3.65    //measured in KB
    var l = 2        
    var endtime = new Date()
    var speed = Math.round(filesize*1000)/(endtime - starttime)
      if (speed>10)
        window.location='za/default.asp?ads=enabled'
       else
        window.location='za/default.asp'
}
</SCRIPT>
 Õâ¸ö img scr ÊÇ¿ÉÒÔÈκεÄÒ»¸öͼƬ£¬¶ø id ÊÇΪÁË·ÂÖÆ Cache ÆðÀ´Ó°Ïì¼ì²â
filesize ÊÇ img scr µÄ´óС£¬¶ø speed ¾ÍÊǼÆËã³öÖµÀ­
ʲô£¬10KB µÄËٶȣ¿¹þ¹þ£¬ÄÇʱÔÚÄÏ·Ç£¬ÍøËÙ³¬¼¶Âý£¬ËùÒÔËùÒÔ¡£¡£¡£¡£
Õâ¸ö´úÂëÆäʵºÜ¼òµ¥£¬¾ÍÊǼÆËã¶ÁÍêÒ»¸öͼƬµÄËٶȣ¬¶øÕâ¸öͼƬÊÇÒþ²ØµÄ
ÓÃÕâÖÖ·½·¨À´¼ì²âÍøËÙ£¬Å¼±È½Ï±ä̬ÁË°É£¬¹þ¹þ


Ïà¹ØÎĵµ£º

javascriptЧÂʾ­Ñé̸(Ò»)

±¾ÎÄÖ÷ÒªÊdzöÓÚÓÐÅóÓÑʹÓÃÎÒÔ­À´Ð´µÄautocompleteµÄJS¿Ø¼þ¡£µ±Êý¾ÝÁ¿´óµÄʱºò£¬»á³öÏÖЧÂʼ«ÆäÂýµÄÇé¿ö£¬ÎÒÔÚÕâ¶Îʱ¼ä×ö³öµÄһЩ²âÊÔÒ²¼°Ò»Ð©¾­Ñ飬Óë´ó¼Ò·ÖÏí£¬Èç¹ûÓдíµÄµØ·½£¬»¹ÇëÖ¸³ö¡£
¾­¹ý²âÊÔ£¬ÎÒÃǻᷢÏÖÈçϵÄÇé¿ö»òÕß˵µÄ½áÂÛ£¬Èç¹ûÄúµÄ²âÊÔ½á¹ûÓëÎҵIJ»·û£¬Çë˵Ã÷Ô­Òò£¬ÒÔ±ãÏ໥ѧϰ¡£
1£©µ±Ò»¸ö½Ï´óµÄHTML×Ö· ......

ʹÓÃDisplayTagºÍJavaScript´´½¨ÔöÇ¿Ð͵ıí¸ñ


Every Web developer has to tangle with tables. A new open source library, DisplayTag, can make life with tables much more organized. Find out how to combine the DisplayTag library with JavaScript to make a slick app that displays line item details.  
by Stephen Strenn
isplaying data in a t ......

WPFÖÐWebBrowser×¢Èëjavascript½Å±¾

WPFµÄWebBrowserºÍWinFormµÄWebBrowserÓÐÒ»¶¨Çø±ð¡£
ÒªÏòÆäÖÐ×¢Èëjavascript½Å±¾£¬¾­¹ý±¾ÈËÊÔÑ飬ÏÂÃæÒ»Ìõ·¿ÉÒÔ×ßͨ£º
 mshtml.HTMLDocument htmlDoc = Browser.Document as mshtml.HTMLDocument;
var head = htmlDoc.getElementsByTagName("head").Cast<HTMLHeadElement>().First();
var script = (IHTMLS ......

javascript ÔÚ ie ºÍ firefox Çø±ð

1.document.formName.item("itemName") ÎÊÌâ
˵Ã÷:IEÏÂ,¿ÉÒÔʹÓÃdocument.formName.item("itemName")»òdocument.formName.elements["elementName"];FirefoxÏÂ,Ö»ÄÜʹÓÃdocument.formName.elements["elementName"].
½â¾ö·½·¨:ͳһʹÓÃdocument.formName.elements["elementName"].
JQUERY:
$("#idName")
  &nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ