JS+CSS
imayaya
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
js 中replaceAll的用法
String.prototype.replaceAll = function(s1,s2){ return this.replace(new RegExp(s1,"g"),s2); } function test() { var sl = 'abcd&efg&gg&'; sl = sl.replaceAll("&","&am...2008-06-23 09:15:52 · 186 阅读 · 0 评论 -
css menu
[code="java"] 二级dropdown弹出菜单--A CROSS BROWSER DROP DOWN CASCADING VALIDATING MENU /* common styling */ /* set up the overall width of the menu div, the font and the margins */ .menu { ...2008-02-19 14:05:27 · 272 阅读 · 0 评论 -
css menu2
[code="java"] dropline-水平三级横向弹出菜单 /* common styling */ .menu {font-family: arial, sans-serif; width:749px; height:30px; position:relative; margin:0; font-size:11px; margin:50px 0; backgro...2008-02-19 14:06:25 · 133 阅读 · 0 评论 -
DIV+CSS设计时IE6、IE7、FF 与兼容性有关的特性
DIV+CSS设计时IE6、IE7、FF 与兼容性有关的特性 在网站设计的时候,应该注意css样式兼容不同浏览器问题,特别是对完全使用DIV CSS设计的网,就应该更注意IE6 IE7 FF对CSS样式的兼容,不然,你的网乱可能出去不想出现的效果! 所有浏览器 通用 height: 100px; IE6 专用 _height: 100px; IE6 专用 *...原创 2009-03-16 19:37:21 · 159 阅读 · 0 评论 -
javascript 改变iframe(框架)的方法
[code="java"][/code] [code="java"] function iframes(){ content.location= 'http://www.zishu.cn/m.html'; document.getelementbyid('content').height= 500; document.getelementbyid('content')....2008-02-26 14:53:54 · 224 阅读 · 0 评论 -
clip地用法
[code="java"] [/code] [code="java"] .textBottom { color: #333333; position: absolute; left: 3em; top: 1em; font: 26px Century Gothic,Arial, Helvetica, sans-serif; ...2008-02-26 15:06:58 · 294 阅读 · 0 评论 -
区分只读文本框和普通文本框的背景色
[code="java"] background-color:expression((this.readOnly && this.readOnly == true)? "#FEFFD6":""); [/code] 注意:css中readonly的写法:---> readOnly (o大写)2008-02-26 15:13:58 · 162 阅读 · 0 评论 -
html调用xml
book.xml [code="java"] XML基础 胡千好 ctguhqh@sina.com 咖啡迷 http://hi.baidu.com/javajavajava 2007年8月 [/code] books.html [code="java"] 在html中调用xml数据 var xmlDoc=new ActiveXObje...2008-03-05 10:16:22 · 354 阅读 · 0 评论 -
选项分组select
optgroup标签用于在一个层叠式选择菜单为选项分类,label属性是必须的,在可视化浏览器中,它的值将会是一个不可选的伪标题,为下拉列表分组。 [code="java"] Gambia Madagascar Namibia France Russia UK Canada Mexico USA [/cod...2008-03-07 17:53:52 · 294 阅读 · 0 评论
分享