
javascript
文章平均质量分 59
iteye_9202
这个作者很懒,什么都没留下…
展开
-
javascript方法
array.slice(start, end): A new array that contains the elements of array from the element specified by start, up to, but not including, the element specified by end...2009-11-12 09:41:48 · 81 阅读 · 0 评论 -
html报表打印
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html xmlns:v="http://www.eglic.com/"><head> <base href="http://localhost:8080/"> <t2009-11-28 15:10:05 · 180 阅读 · 0 评论 -
跑马灯效果
<marquee width=320px onMouseOver="this.stop()" onMouseOut="this.start()"> <a href="#">aaaaaaaaaaaaaaaaa</a> </marquee>2009-12-03 21:20:15 · 77 阅读 · 0 评论 -
YUI学习一
学习了下YUI3, 比jquery大多了, 查文档不像jquery那样方便 , 把学到的东西在这记一下, 方便查找。使用YUI().use("node",function(Y)) {}时候, node的意思就是对dom的基本操作(个人理解)Y.one("#idname")相当于document.getElementById("idname");Y.one("#idname").set(...原创 2010-10-11 16:34:31 · 237 阅读 · 0 评论 -
YUI ajax json最简单的写法
YUI().use("node", "io", "json-parse", function(Y) { function handleSuccess(ioId, o) { console.log('-------------' + o.responseText) ; var inboxS...原创 2011-05-31 10:00:02 · 166 阅读 · 0 评论 -
top.location.href
*.location.href 用法: top.location.href=”url” 在顶层页面打开url(跳出框架) self.location.href=”url” 仅在本页面打开url地址 parent.location.href=”url” 在父窗口打开Url地址 this.location.href=”ur...原创 2011-01-18 15:12:56 · 319 阅读 · 0 评论 -
YUI中一些方法总结
YUI extend ( r , s , px , sx ) :只继承prototype中的方法,不继承构造函数内的私有属性和私有成员以及共有成员,并且可以为它的子类添加prototype属性,为构造函数添加私有属性r /Function/ 该函数被修改 s /Function/ 被继承的构造函数 px /Object/ 公共属性添加到子类中...原创 2011-01-20 16:03:20 · 272 阅读 · 0 评论 -
掉用window.close()问题
window.close关闭窗口,不弹出系统提示,直接关闭 window.opener=null;window.open("","_self"); window.close(); IE8下若只有window.close();会有对话框提示,FF下不会 ...原创 2011-04-02 15:33:30 · 110 阅读 · 0 评论