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

ÓÃJavascriptÅжÏͼƬÊÇ·ñÔÚ´æÔÚ

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>php°®ºÃÕß|phpfans.net|---ÅжÏÔ¶³ÌͼƬÊÇ·ñ´æÔÚ£¬·ñÔòÌæ»»³ÉĬÈÏͼƬ</title>
</head>
<body>
<p>ÅжÏÔ¶³ÌͼƬÊÇ·ñ´æÔÚ£¬²»´æÔڵĻ°Ìæ»»³ÉĬÈϵÄͼƬ£¬´úÂëÈçÏ£º</p>
<p>µÚÒ»ÖÖÇé¿ö´æÔÚ£º<IMG src="http://www.163.com/images/neteaselogo.gif" onerror="javascript:this.src='http://www.phpfans.net/bbs/images/default/logo.gif'"></p>
<IMG src="http://www.163.com/images/neteaselogo.gif" onerror="javascript:this.src='http://www.phpfans.net/bbs/images/default/logo.gif'">
<p>µÚ¶þÖÖÇé¿ö²»´æÔÚ£¬Ìæ»»³É±¾Õ¾µÄlogo£º<IMG src="http://www.163.com/images/neteaselogo1.gif" onerror="javascript:this.src='http://www.phpfans.net/bbs/images/default/logo.gif'"></p>
<IMG src="http://www.163.com/images/neteaselogo1.gif" onerror="javascript:this.src='http://www.phpfans.net/bbs/images/default/logo.gif'">
</body>
</html>


Ïà¹ØÎĵµ£º

JavaScript´¦ÀíJson

JSON(JavaScript Object Notation) ÊÇÒ»ÖÖÇáÁ¿¼¶µÄÊý¾Ý½»»»¸ñʽ£¬Ò×ÓÚÔĶÁºÍ±àд£¬Í¬Ê±Ò²Ò×ÓÚ»úÆ÷½âÎöºÍÉú³É¡£Ëü»ùÓÚECMA262ÓïÑԹ淶£¨1999-12µÚÈý°æ£©ÖÐJavaScript±à³ÌÓïÑÔµÄÒ»¸ö×Ó¼¯¡£ JSON²ÉÓÃÓë±à³ÌÓïÑÔÎ޹صÄÎı¾¸ñʽ£¬µ«ÊÇҲʹÓÃÁËÀàCÓïÑÔ£¨°üÀ¨C£¬ C++£¬ C#£¬ Java£¬ JavaScript£¬ Perl£¬ PythonµÈ£©µÄÏ°¹ß£¬ÕâЩÌØÐ ......

javascript cookies ±£´æ¡¢»ñÈ¡ºÍɾ³ý

CookiesÊÇÒ»ÖÖÄܹ»ÈÃÍøÕ¾·þÎñÆ÷°ÑÉÙÁ¿Êý¾Ý´¢´æµ½¿Í»§¶ËµÄÓ²ÅÌ»òÄڴ棬»òÊÇ´Ó¿Í»§¶ËµÄÓ²Å̶ÁÈ¡Êý¾ÝµÄÒ»ÖÖ¼¼Êõ¡£CookiesÊǵ±Äãä¯ÀÀijÍøվʱ£¬ÓÉWeb·þÎñÆ÷ÖÃÓÚÄãÓ²ÅÌÉϵÄÒ»¸ö·Ç³£Ð¡µÄÎı¾Îļþ£¬Ëü¿ÉÒԼǼÄãµÄÓû§ID¡¢ÃÜÂë¡¢ä¯ÀÀ¹ýµÄÍøÒ³¡¢Í£ÁôµÄʱ¼äµÈÐÅÏ¢¡£µ±ÄãÔÙ´ÎÀ´µ½¸ÃÍøվʱ£¬Íøվͨ¹ý¶ÁÈ¡Cookies£¬µÃÖªÄãµÄÏà¹ØÐÅÏ¢£¬¾Í ......

javascript framework£¬ JS³£Óú¯Êý£¨·½·¨£©£¬jQuery

//Register NameSpace for window.MSN
if(!window.MSN)
{
    window.MSN = {};
}
if(!window.MSN.SET)
{
    window.MSN.SET = {};
}
if(!window.MSN.SET.Utilities)
{
    window.MSN.Utilities = {};
}
//Check you borwse type
//IE7 &IE8 & FF et ......

´«ÖDz¥¿ÍJavaѧϰ JavaScript¼ÓÇ¿

ÎÒ½ñÌìѧϰÁËÙ¡ÀÏʦ½²µÄJavaScript½âÎöDomÎĵµµÄ֪ʶ£º
Ò»¡¢        ½Úµã·ÖΪ3ÖÖÀàÐÍ£¬ÔªËؽڵ㣬ÊôÐԽڵ㣬Îı¾½Úµã
¶þ¡¢        ²éÕҽڵ㣺
l       js´úÂë²»ÄÜдÔÚbodyÔªËصÄÇ°Ã棬js ´úÂëдÔÚ <head> ½ ......

Javascript »ñÈ¡Ò³Ãæ¸ß¶È£¨¶àÖÖä¯ÀÀÆ÷£©

¹ØÓÚ»ñÈ¡¸÷ÖÖä¯ÀÀÆ÷¿É¼û´°¿Ú´óСµÄÒ»µãµãÑо¿¡£
ÔÚÎÒ±¾µØ²âÊÔµ±ÖУº
ÔÚIE¡¢FireFox¡¢Opera϶¼¿ÉÒÔʹÓÃ
document.body.clientWidth
document.body.clientHeight
¼´¿É»ñµÃ£¬ºÜ¼òµ¥£¬ºÜ·½±ã¡£
¶øÔÚ¹«Ë¾ÏîÄ¿µ±ÖУº
OperaÈÔȻʹÓÃ
document.body.clientWidth
document.body.clientHeight
¿ÉÊÇIEºÍFireFoxÔòʹÓÃ
docu ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ