2

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.

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

Please help!

2
  • It might be easier to fix the existing plugin to work with 1.7.1. Commented May 20, 2010 at 10:23
  • 1
    For that, I'll have to learn how the plugin system works. :) Any links? Commented May 20, 2010 at 10:24

3 Answers 3

2

Have a look at the developer guide.

I believe using the Widget Factory is the recommended pattern.

http://docs.jquery.com/UI_Developer_Guide

Sign up to request clarification or add additional context in comments.

1 Comment

0

A jQuery plugin is essentially a collection of function routines.

Have a look here: 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

Comments

0

Jquery in action book can help you. http://www.manning.com/bibeault/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.