code:
01 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
02 | < html xmlns = "http://www.w3.org/1999/xhtml" > |
03 | < head > |
04 | < meta http-equiv = "Content-Type" content = "text/html; charset=gb2312" /> |
05 | < title >检查浏览器是否开启JavaScript功能代码</ title > |
06 | </ head > |
07 | < body scroll = no style = "text-align: center" > |
08 | 如果您的浏览器支持的话,本页面什么也不会显示,如果不支持,则会出现提示! |
09 | < noscript > |
10 | < center >< table border = "0" style = "height: 100%; width: 100%; right: 1%; left: 1%; background: black; position: fixed" > |
11 | < tr >< td align = "center" > |
12 | < div style = "position: fixed; font-size: 18px; z-index: 2; cursor: help; background: #F8F8FF; width: 480px; color: black; padding: 5px 5px 5px 5px; border: 1px solid; border-color: maroon; height: auto; text-align: left; left: 20%" > |
13 | < span style = "font: bold 20px Arial; color:#F8F8FF; background: maroon; vertical-align: middle" >对不起,你的浏览器没有打开JavaScript脚本支持!</ span ></ div > |
14 | </ td ></ tr ></ table ></ center > |
15 | </ noscript > |
16 | </ body > |
17 | </ html > |
18 | |
19 | < br /> |