Allow user to scroll and maintain position with "Scroll To Bottom of the Div" example
摘要:from: http://radio.javaranch.com/pascarello/2006/08/17/1155837038219.html
阅读全文
posted @
2006-11-22 13:50
JIN Weijie
阅读(173)
推荐(0) 编辑
用JavaScript执行PostBack
摘要:早上实现了在子页面更新数据以后,父页面刷新树的功能 思路: 父页面有个隐藏的html button作为proxy,子页面保存完数据以后,用js调用父页面的html button的触发函数click(); 父页面有个asp.net的link button控件,text="",等于也是隐藏的,它负责调用后台cs代码里的负责刷新树的方法; 父页面的html button onc...
阅读全文
posted @
2006-11-21 21:36
JIN Weijie
阅读(731)
推荐(0) 编辑
Ajax Web Part
摘要:最近,自己写了一个Ajax Web Part详情请看文档: Ajax Web Part使用说明 v1.0 Author: wjjin Overview AjaxWebPart原则上是通过WebPart Manager来操作WebPart,请不要直接调用WebPart中的方法。使用时,引用prototype.js和asyncWebPartPacked.js WebPart Manager W...
阅读全文
posted @
2006-11-20 22:50
JIN Weijie
阅读(544)
推荐(0) 编辑
href="\#" vs. href="javascript:void(0)"
摘要:form Ajax中国 开发的时候有时需要用link()来触发一些javascript事件,所以常常可以看到如下的代码: Link 这是一个曾经被多次讨论过的问题,长期以来,我也一直是这样写的。读了 a href=”javascript:void(0);” — avoid the void 之后,我认同了作者的意见。下面的写法确实更合理: Link 或者 Link 以往...
阅读全文
posted @
2006-11-20 22:43
JIN Weijie
阅读(2928)
推荐(1) 编辑
Prototype 1.5.0_rc2
摘要:from Ajax中国 Prototype 1.5.0_rc2 版本一周前已经发布了。很低调,国外的网站也没有什么动静,看来大家都筹备着过圣诞呢。 rc2版本没有什么重大的更新,以Bug修复和性能调优为主。我觉得值得一提的改进有: $() 和 $$() 函数的性能优化 XHR增加了更多控制及API优化。比如增加 encoding 选项设置...
阅读全文
posted @
2006-11-20 22:23
JIN Weijie
阅读(192)
推荐(0) 编辑
JavaScript, We Hardly new Ya
摘要:JavaScript is a prototypal language, but it has a new operator that tries to make it look sort of like a classical language. That tends to confuse programmers, leading to some problematic programm...
阅读全文
posted @
2006-11-20 22:22
JIN Weijie
阅读(277)
推荐(0) 编辑
Places To Use Ajax
摘要:Here are places it’s useful to use Ajax: (This is a collaborative wiki list – feel free to add your own ideas to it) Form driven interaction. Forms are slow. Very slow. Editing a tag (the...
阅读全文
posted @
2006-11-20 22:22
JIN Weijie
阅读(232)
推荐(0) 编辑
The "with" keyword in Javascript
摘要:from: http://javascript.about.com/library/blwith.htm The "with" keyword is used to specify an object to which all of the unreferenced properties and methods in a following block of code are to...
阅读全文
posted @
2006-11-20 22:20
JIN Weijie
阅读(222)
推荐(0) 编辑
Font in Google Adsense
摘要:Google Adsense中使用的字体为: font-family: Pmingliu,verdana,arial,sans-serif;font-size:11px 如果用ie6浏览有锯齿的话,将文件编码转为UTF-8
阅读全文
posted @
2006-11-20 22:09
JIN Weijie
阅读(169)
推荐(0) 编辑