[jQuery] Multiple plugins in same namespace?
[jQuery] Multiple plugins in same namespace?
I'm trying to create a plugin with two entry points. You would use it
like this:
$('#someid').myPlugin.doThis(options);
$('#anotherid').myPlugin.doThat(options);
I've looked hard at
http://docs.jquery.com/Plugins/Authoring
and
http://www.learningjquery.com/2007/10/a-plugin-development-pattern
to
no avail.
Any help much appreciated!
Marion
Topic Participants
marion.newlevant
malsup
balazs.endresz