Archive for the ‘JavaScript’ Category

扯句闲话,不知道为什么,偶没写什么反动言论啊,IP被墙,换IP后国内才能访问。。。搞得上篇都整E文,心想反正国人看不到了。。。现在终于可以用上母语了。。。

言归正传。

前两天和同事调程序,遇上js控制表单提交经典案例。

Read More: 654 Words Totally

Wednesday, April 6th, 2011 at 22:11 | 1 comment
Categories: JavaScript

 

JavaScript IS an OO language itself.

I just wrote a jQuery plugin to realize a C-like class writing style.

Read More: 2731 Words Totally

Thursday, January 13th, 2011 at 22:01 | 1 comment
Categories: JavaScript
Friday, August 27th, 2010 at 09:51 | 0 comments
Categories: JavaScript

 

默认的表单(form)是有margin的, 所以插入的时候, 可能会使布局变形.

有时候表单内的元素较多, 需要排版, 较为方便的还是table.

Read More: 921 Words Totally

Thursday, August 26th, 2010 at 15:38 | 1 comment
Categories: JavaScript

Demo:   http://pwwang.com/tools/mine-sweeping.html

Google Code Project Home Page:  http://code.google.com/p/mine-sweep-in-jquery-javascript/

Read More: 616 Words Totally

Saturday, October 31st, 2009 at 00:01 | 0 comments
Categories: JavaScript

 

之所以同时加上引号,是因为真正的同时,除了机器人,是不可能做到的。

这个是利用jQuery的事件管理机制来实现的,并把它写成了一个jQuery插件。

Read More: 3939 Words Totally

Thursday, October 29th, 2009 at 09:35 | 1 comment
Categories: JavaScript

 

做JavaScript开发, 特别是稍微复杂一点的程序, 难免要用到JavaScript面对对象的特性, 现在JavaScript的调试工具逐渐多和强大起来, 然而有时候要看一个object的值, 还是很不方便, 这时候就开始想念php的print_r功能了, 它可以将数组和对象的皮剥得干干净净, 让你看得一清二楚.

网上已经有很多版本了,但都不太好用,没有达到想要的效果,我自己写了一个, 稍微看得清楚一点.

Read More: 1151 Words Totally

Tuesday, October 27th, 2009 at 00:59 | 2 comments
Categories: JavaScript

 

All in jQuery/JavaScript + HTML!

Demo:Tetris(俄罗斯方块) in jQuery/JavaScript!

Read More: 2427 Words Totally

Sunday, October 25th, 2009 at 02:09 | 2 comments
Categories: JavaScript
Thursday, October 22nd, 2009 at 21:02 | 0 comments
Categories: JavaScript

 

jquery.msgbox 3.1    历史版本:  1.0   2.0  3.0

3.1 更新:

Read More: 146 Words Totally

Monday, October 12th, 2009 at 22:24 | 0 comments
Categories: JavaScript
Page 1 of 3123
TOP