Examples and Demos
Most of the examples have been extracted directly from
my blog. All paths in the examples have been converted to map directly to paths in the yui-ext download. This will be the same structure of all examples going forward. No more searching through blog code to figure out how something was done!
If there's an example missing that you would like to see, you can sponsor development of it.
Send me an email.
The most popular examples:
阅读全文...
为了让鼠标移到小图上显示大图,我利用鼠标事件新建了一个层来显示大图.当然之前最好得到XY坐标
阅读全文...
Window.onload()是我们在使用Javascript时经常用到的方法。很多年来,编程者都用它来处理页面加载完毕后的相关脚本事件。但有时 等待页面加载实在太慢,比如要等待一些大的图片下载完毕才运行Window.onload(),可能会感觉这个过程十分的缓慢。所以近来我(是作者:)) 专门为这种应用创建一种WEB程序,并且可以使用它让一些页面运行地更快一点!
阅读全文...
jQuery is a new type of Javascript library. It is not a huge, bloated framework promising the best in AJAX - nor is it just a set of needlessly complex enhancements -
jQuery is designed to change the way that you write Javascript.
阅读全文...
快速收藏文章有好多种,这里说的是右键快速收藏。
注意:仅对IE有效,且当同一IE进程只打开一个网页时。
主要分三个步骤:
- 制作注册表文章以在鼠标右键注册菜单
- 制作接收数据JS并提交到收藏页
- 收藏页取得相关信息,正式收藏
阅读全文...