Hmm, Yes I came across that page, but that page doesnt tell me how to style my plugin, nor does it help in saying how to override a method of its upper class. I guess that's what I was really wanting to know.
For example in dojo, I define the object as such dojo.provide("aegeon.WidgetTest"); And anytime I want to use this widget I can then do this. <div dojoType="aegeon:WidgetTest"></div> But in dojo I can also include other objects to build up my widget, for example by adding dojo.require("dojo.event.*"); I can now apply events to my widget. Then I can make a template for my widget by doing something like this <div dojoAttachPoint="myNode" widgetId="${this.widgetId}"> <div>${this.Text}</div> </div> And with the way dojo works it will the populate the template with the properties defined in the widget. So at anytime if I want to change the text I just dojo.widget.ById('WidgetId').Text="ChangingText"); So by this example, it gives me a very run down on how to create the look of the widget and also allows me to say how the widget can inherit other widgets. With my quick look through jQuery I didn't see any of this, nothing on how to style the widget or make the widget look, or even as mentioned override or inherit other widgets. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -----Original Message----- From: Rey Bango [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 February 2007 11:42 AM To: CF-Talk Subject: Re: Ajax and CF question? Hi Andrew, Andrew Scott wrote: > Yes I can see that, well the only thing that I couldnt find was how to > write a plugin. With Dojo this is very simple to do, and it might be for > jQuery but I just didnt see it in the docs. http://docs.jquery.com/Plugins/Authoring > Now one thing I have noticed so correct me if I am wrong, everything seems > to be based on Ids? Is that correct. > And what does it return, I am going to assume an object but not sure. What > about FB debugging is this supported, in dojo I can say > dojo.debugShallow(this) and it will dump the object to the Firebug concole > for me to see the entire object methods and properties, does jQuery have > this. You're workingDOM objects and can manipulate their attributes as well as bind methods and events to them. Let me know if that helps. Rey... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270901 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4