ͨ¹ýHTML ×¢ÊÍÐÔÓï·¨ÅжÏIE°æ±¾
Example:
1.<!--[if !IE]><!--> ³ýIEÍâ¶¼¿Éʶ±ð <!--<![endif]-->
2.<!--[if IE]> ËùÓеÄIE¿Éʶ±ð <![endif]-->
3.<!--[if IE 5.0]> Ö»ÓÐIE5.0¿ÉÒÔʶ±ð <![endif]-->
4.<!--[if IE 5]> ½öIE5.0ÓëIE5.5¿ÉÒÔʶ±ð <![endif]-->
5.<!--[if gt IE 5.0]> IE5.0ÒÔ¼°IE5.0ÒÔÉϰ汾¶¼¿ÉÒÔʶ±ð <![endif]-->
6.<!--[if IE 6]> ½öIE6¿Éʶ±ð <![endif]-->
7.<!--[if lt IE 6]> IE6ÒÔ¼°IE6ÒÔϰ汾¿Éʶ±ð <![endif]-->
8.<!--[if gte IE 6]> IE6ÒÔ¼°IE6ÒÔÉϰ汾¿Éʶ±ð <![endif]-->
9.<!--[if IE 7]> ½öIE7¿Éʶ±ð <![endif]-->
10.<!--[if lt IE 7]> IE7ÒÔ¼°IE7ÒÔϰ汾¿Éʶ±ð <![endif]-->
Explain:
1.lt£ºless than µ±Ç°Ö¸¶¨°æ±¾ÒÔÏ£¬²»°üº¬µ±Ç°°æ±¾
2.gt£ºgreater than µ±Ç°Ö¸¶¨°æ±¾ÒÔÉÏ£¬²»°üº¬µ±Ç°°æ±¾
3.lte£ºless than or equal µ±Ç°Ö¸¶¨°æ±¾ÒÔÏ£¬°üº¬µ±Ç°°æ±¾(µÈÓÚ)
4.gte£ºgreater than or equal µ±Ç°Ö¸¶¨°æ±¾ÒÔÉÏ£¬°üº¬µ±Ç°°æ±¾(µÈÓÚ)
Ïà¹ØÎĵµ£º
¾²Ì¬½á¹¹
£¼html£¾
£¼head£¾
£¼title£¾±êÌ⣼title£¾
£¼/head£¾
£¼body£¾..........ÎļþÄÚÈÝ..........
£¼/body£¾
£¼/html£¾
1.Îļþ±êÌâ
£¼title£¾..........£¼/title£¾
2.Îļþ¸üÐÂ--£¼meta£¾
¡¡¡¾1¡¿10Ãëºó×Ô¶¯¸üÐÂÒ»´Î
¡¡¡¡£¼meta http-equiv="refresh" content=10£¾
¡¡¡¾2¡¿10Ãëáá×Ô¶¯Á¬½áµ½ÁíÒ»Îļþ
¡¡¡¡ ......
´°¿Úʼþ (Window Events)
½öÔÚ body ºÍ frameset ÔªËØÖÐÓÐЧ¡£
ÊôÐÔ Öµ ÃèÊö
onload ½Å±¾ µ±ÎĵµÔØÈëʱִÐнű¾
onunload ½Å±¾ µ±ÎĵµÐ¶ÔØÊ±Ö´Ðнű¾
±íµ¥ÔªËØÊ¼þ (Form Element Events)
½öÔÚ±íµ¥ÔªËØÖÐÓÐЧ¡£
ÊôÐÔ Öµ ÃèÊö
onpropertychange ½Å±¾ µ±Îı¾ÄÚÈݸıäʱִÐнű¾
onchange ½Å± ......
StringBuilder sb = new StringBuilder();
Server.Execute("~/Default2.aspx", new StringWriter(sb));
File.WriteAllText(Server.MapPath("index.htm"), sb.ToString()); ......
×î½ü±¾À´ÊÇҪȥÄÇǶÈëʽ¿ÎµÄ£¬µ«ÊÇÄǿξ¹È»ËµÈËÊýÌ«ÉÙ£¬¿ª²»ÁË£¬¿¿¡£ËùÒÔÕâÁ½ÌìÖ»ÄÜ×Ô¼ºÑо¿µã¶«Î÷ÁË¡£¼ÇµÃ×Ô¼ºÒÔǰ¾ÍÏ붯ÊÖдһ¸ö¹ØÓÚdomµÄ½âÎöÒýÇæ£¬Ö»¹Ö×Ô¼ºÌ«ÀÁ£¬Ò»Ö±Ã»¶¯±Ê¡£×î½üÔÚ¼ÒҲûʲôÊÂ×ö£¬¾Í×Ô¼º¶¯ÊÖдһ¸ö£¬»¨ÁËÒ»Ììʱ¼äдµÄ²î²»¶àÁË£¬ÕýºÃ¶ÍÁ¶×Ô¼ºµÄc++ˮƽ°É¡£
&nb ......