
HTML
iteye_8384
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[转载]常用的三种树形菜单
本文转载自:[url]http://www.iteye.com/topic/823855[/url] a {text-decoration:none;} a,a:visited {color:#000;background:inherit;} body {margin:0;padding:20px;font:12px tahoma,宋体,sans-ser...原创 2010-11-26 11:04:16 · 111 阅读 · 0 评论 -
js简单算法
[code="java"] var textLen = text.replace(/[^\x00-\xff]/gi,'xu').length;//字节数 textLen = textLen%2 == 0 ? textLen/2 : textLen/2+0.5;//字符数 //1字符 = 2字节 [/code]原创 2012-03-31 15:54:34 · 124 阅读 · 0 评论 -
窗口调用
父页面通过window.open弹出子页面,当子页面关闭时触发方法,刷新父页面 [quote] function addTask(){ var width = 850; // 弹出窗口的宽度 var height = 580; // 弹出窗口的高度 var x = window.screen.width/2 - width/2; ...原创 2012-08-10 10:10:51 · 144 阅读 · 0 评论