摘要:
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>js中的Math对象</title><script type="text/java... 阅读全文
摘要:
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>日历</title><script type="text/javascript"&... 阅读全文
摘要:
如果页面使用框架集合,每个框架都有它自己的window对象表示,存放在frames集合中。在frames集合中,可用数字(从0开始,从左到右,逐行的)或名字对框架进行索引。如下所示:Frame.html<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" con... 阅读全文
摘要:
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>模拟购物车</title><style type="text/css">#m... 阅读全文
摘要:
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>收集信息</title><style type="text/css"><... 阅读全文
摘要:
1. var userAgent = navigator.userAgent.toLowerCase();2. var is_opera = userAgent.indexOf('opera') != -1 && opera.version();3. var is_moz = (navigator.product == 'Gecko') && userAgent.s... 阅读全文