摘要: <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... 阅读全文
posted @ 2009-11-30 20:59 坐看风起 阅读(697) 评论(0) 推荐(0) 编辑
摘要: <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"&... 阅读全文
posted @ 2009-11-30 20:56 坐看风起 阅读(756) 评论(0) 推荐(0) 编辑
摘要: 如果页面使用框架集合,每个框架都有它自己的window对象表示,存放在frames集合中。在frames集合中,可用数字(从0开始,从左到右,逐行的)或名字对框架进行索引。如下所示:Frame.html<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" con... 阅读全文
posted @ 2009-11-30 20:53 坐看风起 阅读(709) 评论(0) 推荐(0) 编辑
摘要: <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... 阅读全文
posted @ 2009-11-30 20:49 坐看风起 阅读(299) 评论(0) 推荐(0) 编辑
摘要: <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"><... 阅读全文
posted @ 2009-11-30 20:40 坐看风起 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2009-11-30 20:22 坐看风起 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 把localhost改为自己想要的域名,可以在127.0.0.1的映射值中修改。修改地方在c:\Windows\system32\drivers\etc\hosts,把其中127.0.01后对应的值(一般是localhost)改为自己想要的名字即可。同时把iis中主机头也改为对应的名字即可。 阅读全文
posted @ 2009-11-12 15:57 坐看风起 阅读(2798) 评论(0) 推荐(0) 编辑
摘要: 本文转载自:http://blog.csdn.net/herojams/archive/2009/07/01/4311884.aspx#_Toc232938059obj.firstChild/.lastChild/.nextSibling/.childNodes/.previousSibling should be changed. Some functions exist in IE and F... 阅读全文
posted @ 2009-11-12 11:10 坐看风起 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 一:JavaScript 语法上不同的 7 个方面1. CSS “float” 属性获取给定对象的特定 CSS 属性的基本语法是 object.style 属性,而且有连字符的属性要用骆驼命名法来代替。例如,获取一个 ID 为 “header” 的 div 的 background-color 属性,我们要用如下语法:?View Code JAVAS... 阅读全文
posted @ 2009-11-12 10:55 坐看风起 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 计算机内部使用的数字符号只有“0”和“1”两个。也就是说计算机内部使用的是二进制数所有的数值数据和非数值数据,都是由“0”和“1”这两个数字符号加以组合而成的,我们称之为“二进制代码”。 1.为什么要采用二进制 尽管二进制数不符合人们的习惯。但是计算机内部仍采用二进制表示信息,主... 阅读全文
posted @ 2009-10-29 10:37 坐看风起 阅读(2070) 评论(0) 推荐(0) 编辑