How to write jquery ui plugin?

I want to write jquery ui plugin? I cannot find a useful tutorial to help me from the beginning. I've never written a jquery plugin before.

I want to prevent dragged objects from being dragged over each other. I found a plugin for jquery ui but it doesn't work with jQuery UI version 1.7.1

Please, help!

+2


a source to share


3 answers


Take a look at the developer guide.

I believe using the Widget Factory is the recommended pattern.



http://docs.jquery.com/UI_Developer_Guide

+2


a source


A jQuery plugin is essentially a collection of functional routines.

Take a look here: http://api.jquery.com/category/ajax/



There is no definitive section on HOW DO I RUN THE WRITING PLATES, but the documentation is pretty good.

Note: This: http://www.queness.com/post/112/a-really-simple-jquery-plugin-tutorial might help too

0


a source


The jQuery in the action book can help you. http://www.manning.com/bibeault/

0


a source







All Articles