jQuery UI Progressbar makes for an extremely simple example:

http://jquery-ui.googlecode.com/svn/trunk/ui/ui.progressbar.js

Other than what's provide by the widget factory in jQuery UI core, it has
just one option (value), one method (value), and one event (change). You may
also want to check out:

http://bililite.com/blog/understanding-jquery-ui-widgets-a-tutorial/

If you have any other questions, note that there's a dedicated list for
jQuery UI:

http://groups.google.com/group/jquery-ui

- Richard

On Fri, Jun 12, 2009 at 3:15 PM, Christopher <cpiet...@gmail.com> wrote:

> Hei there,
>
> since http://marcgrabanski.com/article/jquery-tools-vs-jquery-ui it isn't
> nice to make your own plugin api.
>
> Now i am trying to build a plugin api for  a pagination in the jquery ui
> way - llike that
>
> $myDiv.pagination('click', function(){ ... });
>
>
> but the whole ui construct with core and so on don't let me see the way i
> have to implement the api.
> does somebody know an easy plugin where i could spy in ?
>
> thx chris
>

Reply via email to