通过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秒後自动连结到另一文件
......
程序集名
保留
保留
备注
窗口程序集1
子程序名
返回值类型
公开
备注
_按钮2_被单击
写到文件 (“c:\ecode.txt”, 到字节集 (超级编辑框1.内容))
执行 (4, “ecode_To_html.exe”, “c:\ecode.txt& ......
CSDN博客:http://writeblog.csdn.net/PostList.aspx
方法一:用记事本打开index.htm,替换:10pt ---> 12pt,保存后,用IE打开此htm,ctrl+a--ctrl+c,粘贴到博客就行了!
方法二:在csdn发表文章时,选择【图像】后面的【HTML】按钮,再把index.htm源码粘贴上去,什么也不用改动! ......
<map name="Map4" id="Map4">
<area shape="rect" mce_shape="rect" coords="659,31,697,45" mce_coords="659,31,697,45" href="product/?keys=289" mce_href="product/?keys=289" />
</map>
<map name=" ......
转载:http://jiangzhengjun.javaeye.com/blog/480996
事件
DOM同时支持两种事件模式:捕获型事件和冒泡型事件,但是,捕获型事件先发生。两种事件流会触及DOM中的所有对象,从document对象开
始,也在document对象结束(大部分兼容标准的浏览会继续将事件捕获/冒泡延续至window对象),DOM中的元素都会连续收到两次事 ......