I want to write a jquery ui plugin? I can't find a useful tutorial which will guide me from start. I've never written a plugin for jquery before.
我想写一个jquery ui插件?我找不到一个有用的教程,它将从一开始就指导我。我以前从未为jquery编写插件。
I want to prevent draggables from overlappping on each other. I found a plugin for jquery ui but it doesn't work with version 1.7.1 of jQuery UI
我想防止可拖动的东西互相重叠。我找到了一个jquery ui的插件,但它不适用于jQuery UI的1.7.1版本
Please help!
3 个解决方案
#1
2
Have a look at the developer guide.
看一下开发者指南。
I believe using the Widget Factory is the recommended pattern.
我相信使用Widget Factory是推荐的模式。
#2
0
A jQuery plugin is essentially a collection of function routines.
jQuery插件本质上是函数例程的集合。
Have a look here: http://api.jquery.com/category/ajax/
看看这里:http://api.jquery.com/category/ajax/
There isn't a definitive "HOW DO I START WRITING PLUGINS" section, but the documentation is rather good.
没有明确的“我如何开始写插件”部分,但文档相当不错。
Note: This: http://www.queness.com/post/112/a-really-simple-jquery-plugin-tutorial may also help
注意:这个:http://www.queness.com/post/112/a-really-simple-jquery-plugin-tutorial也可以帮助
#3
0
Jquery in action book can help you. http://www.manning.com/bibeault/
动作书中的Jquery可以帮到你。 http://www.manning.com/bibeault/
#1
2
Have a look at the developer guide.
看一下开发者指南。
I believe using the Widget Factory is the recommended pattern.
我相信使用Widget Factory是推荐的模式。
#2
0
A jQuery plugin is essentially a collection of function routines.
jQuery插件本质上是函数例程的集合。
Have a look here: http://api.jquery.com/category/ajax/
看看这里:http://api.jquery.com/category/ajax/
There isn't a definitive "HOW DO I START WRITING PLUGINS" section, but the documentation is rather good.
没有明确的“我如何开始写插件”部分,但文档相当不错。
Note: This: http://www.queness.com/post/112/a-really-simple-jquery-plugin-tutorial may also help
注意:这个:http://www.queness.com/post/112/a-really-simple-jquery-plugin-tutorial也可以帮助
#3
0
Jquery in action book can help you. http://www.manning.com/bibeault/
动作书中的Jquery可以帮到你。 http://www.manning.com/bibeault/