![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web前端技术
iteye_7928
这个作者很懒,什么都没留下…
展开
-
jquery效果思路代码
一.如何把一个元素放在屏幕的中心位置: view sourceprint?1 jQuery.fn.center = function () { 2 this.css('position','absolute'); 3 this.css('top', ( $(window).height() - this.height() ) / +$(window).scro...原创 2011-08-16 09:37:28 · 54 阅读 · 0 评论 -
按钮样式
CSS样式 Java代码 .btnNormal { background: url("../images/btn_normal.png") no-repeat scroll 0 transparent } .btnOver { background: url("../images/btn_hover.png"...原创 2011-09-27 17:35:28 · 58 阅读 · 0 评论 -
checkbox框的操作
JS获取复选框被选中的值 0 1 2 3 4 5 6 7 总共有八个checkbox和一个按钮,点击“提交”按钮后可以知道当前所选中原创 2012-04-13 14:07:42 · 98 阅读 · 0 评论 -
常用正则表达式
验证数字:^[0-9]*$ 验证n位的数字:^\d{n}$ 验证至少n位数字:^\d{n,}$ 验证m-n位的数字:^\d{m,n}$ 验证零和非零开头的数字:^(0|[1-9][0-9]*)$ 验证有两位小数的正实数:^[0-9]+(.[0-9]{2})?$ 验证有1-3位小数的正实数:^[0-9]+(.[0-9]{1,3})?$ 验证非零的正整数:^\...2012-04-13 14:08:00 · 71 阅读 · 0 评论