
DIV+CSS
WDYDXF
这个作者很懒,什么都没留下…
展开
-
js 验证手机号,邮箱一类的东西,js定位html元素,浏览器滚到到html元素
邮箱:if (!(/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test($.trim($(this).val())))) { alert('不正确');}手机号: if (!(/^1[3|5|8][0-9]\d{4,8}$/.test($.trim($(this).val())))) { alert('不正确')}js原创 2012-02-29 14:17:29 · 2153 阅读 · 0 评论 -
Div 浮动到另一个div之上:
Div 浮动到另一个div之上: 绝对定位相对定位 .fj1 { position: absolute; width: 150px; height: 150px; border: 1px solid #000; b原创 2013-03-04 16:36:31 · 44681 阅读 · 1 评论 -
关于文字强制换行 ,自动换行,强制不换行的代码
强制不换行div{white-space:nowrap;}自动换行div{ word-wrap: break-word; word-break: normal; }强制英文单词断行div{word-break:break-all;}==========================================转载 2013-03-19 15:55:30 · 1979 阅读 · 0 评论 -
w3cshool 2013年最新离线手册 完整版
下载地址为:http://download.youkuaiyun.com/detail/wdydxf/6343971转载 2013-09-30 19:01:08 · 2401 阅读 · 0 评论 -
Backbone.js 0.9.2 中文解释
// Backbone.js 0.9.2// (c) 2010-2012 Jeremy Ashkenas, DocumentCloud Inc.// Backbone may be freely distributed under the MIT license.// For all details and documentation:// http://backbonejs.org(转载 2014-01-02 20:55:24 · 2024 阅读 · 0 评论 -
Underscore.js 1.3.3 中文解释
// Underscore.js 1.3.3// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.// Underscore is freely distributable under the MIT license.// Portions of Underscore are inspired or borrowed from Prototy转载 2014-01-02 20:58:24 · 2432 阅读 · 0 评论