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

javascript ֪ʶÕûÀí

 javascript ֪ʶÕûÀí
1¡¢screen ÆÁÄ»¶ÔÏó
      screen ÆÁÄ»¶ÔÏó ·´Ó³Á˵±Ç°Óû§µÄÆÁÄ»ÉèÖá£
      width ·µ»ØÆÁÄ»µÄ¿í¶È£¨ÏñËØÊý£©¡£
      height ·µ»ØÆÁÄ»µÄ¸ß¶È¡£
      availWidth ·µ»ØÆÁÄ»µÄ¿ÉÓÿí¶È£¨³ýÈ¥ÁËһЩ²»×Ô¶¯Òþ²ØµÄÀàËÆÈÎÎñÀ¸µÄ¶«Î÷ËùÕ¼ÓõĿí¶È£©¡£
      availHeight ·µ»ØÆÁÄ»µÄ¿ÉÓø߶ȡ£
      colorDepth ·µ»Øµ±Ç°ÑÕÉ«ÉèÖÃËùÓõÄλÊý - 1£ººÚ°×£»8£º256É«£»16£ºÔöÇ¿É«£»24/32£ºÕæ²ÊÉ«


Ïà¹ØÎĵµ£º

javascriptÖеÄ×Ö·û´®Ç¶Ì×

 ÔÚJavaScriptÖÐ×Ö·û´®ÊÇÓÃÒýºÅ“" "”¡¢“' '”°üÆðÀ´µÄÁã¸öÖÁ¶à¸ö×Ö·û¡£ÓÃÄĸöÒýºÅ¿ªÊ¼¾ÍÓÃÄĸö½áÊø£¬¶øÇÒµ¥Ë«ÒýºÅ¿ÉǶÌ×ʹÓ㬲»¹ýJavaScript ÖÐÒýºÅµÄǶÌ×Ö»ÄÜÓÐÒ»²ã¡£Èç¹ûÏëÔÙ¶àǶһЩ£¬ÐèÒªÓÃתÒå×Ö·û£º
תÒå×Ö·û ÓÉÓÚһЩ×Ö·ûÔÚÆÁÄ»Éϲ»ÄÜÏÔʾ£¬»òÕß JavaScript Óï·¨ÉÏÒѾ­ÓÐÁËÌØÊâÓÃ;£¬ ......

²Ù×÷ClassNameµÄ¹¤¾ßº¯Êý(JavaScriptȨÍþÖ¸ÄÏ£©

/**
* CSSClass.js
*/
var CSSClass = {}; //Create our namespace object
//Return tru if element e is a member of the class c;false otherwise
CSSClass.is = fucntion(e, c)
{
if(typeof e == "string")
e = document.getElementById(e);
//Before doing a regexp search,optimize for couple of co ......

ÔÚjavascriptÎļþÖÐʹÓÃjstl±êÇ©

½ñÌì¿´µ½Í¬ÊÂharry_duanдµÄÒ»¸öjsÎļþ£¬¸Ð¾õͦÓÐÒâ˼¡£
Ä¿µØÊÇÔÚjsÎļþÖÐʹÓÃjstlµÄfmt:message
1.ÔÚ×ÊÔ´ÎļþÖж¨ÒåÏûÏ¢ errors.message1=error xxxxxx
2.´´½¨Ò»¸öjsÎļþ£¬ÎªÁËjstlÄÜÓ㬽«jsÎļþÃüÃûΪ myjs.js.jsp (ÒÔjsp½áβ)
js ´úÂë
 
<%@ page contentType="text/html; charset=utf-8 ......

javascript¿ò¼ÜÖ®¼Ì³Ð»úÖÆ

´óÒ»µãµÄ¿ò¼Ü¶¼ÓÐÕâ¸ö¶«Î÷¡£PrototypeÔ­À´µÄ¼Ì³Ð»úÖƷdz£Èõ£¬ÎªÁËÓëmootools¶Ô¿¹Ò²Ç¿»¯ÁËÕâÒ»·½Ãæ¡£ÂҪÓÃÔ­Ðͼ̳ÐÀ´Ä£·ÂÀà¼Ì³Ð£¬¶¼»ù±¾´æÔÚÒ»¸ö¿Ë¡º¯Êý¡£°Ñ¸¸ÀàµÄÔ­ÐÍÊôÐÔ¸´ÖƵ½×ÓÀàÉÏÈ¥¡£ÀíÄîµÄ¶«Î÷ÔÝʱÕâô¶à£¬¶¯ÊÖʵ¼ùÒ»ÏÂ×îʵ¼Ê¡£ÎÒÃÇÉè¼ÆÒ»¸öÊý×éÀ࣬ӵÓÐÔ­ÉúÊý×éµÄÄÜÁ¦ÓëÐÂÀ©Õ¹µÄÄÜÁ¦¡£

var isNumber ......

javascript¿ò¼ÜÖ®¼Ì³Ð»úÖÆ2

 ÎÒÃÇÀ´Ä£·ÂÒ»ÏÂ×îOOµÄmootoolsµÄ¼Ì³Ð»úÖÆ¡£ËüµÄÀ඼ÓÐÒ»¸ö½Ð×öinitialize¹¹Ôì·½·¨£¬ÕâÓëJavaµÄÀ඼ÓÐÒ»¸öÓëÀàÃûͬÃûµÄ¹¹Ôì·½·¨Ò»ÑùµÄµÀÀí¡£Ö»²»¹ý£¬ÕâЩ½Ðinitialize»òinit¶¼Êǽè¼ø×ÔPrototype£¬¶øPrototypeÄÇ°ïÈËÊÇRuby³öÉí¡£ÎªÁËÇø±ðmootoolsÄÇÖÖÎÛȾԭÉú·½·¨µÄ×ö·¨£¬ÎÒ°ÑÀàµÄ¹¹ÔìÆ÷ÃüÃûΪvariant£¬²¢ÇÒ½ûÖ¹²é¿´¹¹Ô ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ