[Proto-Scripty] Re: Cannot mix Prototype and Yahoo UI Library (YUI)

2009-04-08 Thread T.J. Crowder
Hi, Also new Element(id,{}); does not work on IE 6.. Yes, it does. Note that where you have id you want to put a tag name, not an ID; this is for creating new elements, and the first parameter is the tag name of the new element. What is the specific issue you're having with it? Is it

[Proto-Scripty] Re: Cannot mix Prototype and Yahoo UI Library (YUI)

2009-04-08 Thread Ananth Raghuraman
TJ, Thanks for the reply! I will try out new Element(tagName,{}); (I have a feeling you are right). As to the YUI issue, it was a syntax error where I was closing anotherFunction below with a ')' instead of a '}' On Tue, Apr 7, 2009 at 5:59 PM, Ananth araghuram...@gmail.com wrote: I am

[Proto-Scripty] Re: Cannot mix Prototype and Yahoo UI Library (YUI)

2009-04-08 Thread Trevan Richins
If you are planning on extending YUI classes using Prototype's Class.create, you might want to look at the bottom of this bug: https://prototype.lighthouseapp.com/projects/8886/tickets/151-extending-yui-objects-with-prototype Trevan On 4/7/2009 3:59 PM, Ananth wrote: I am unable to do the

[Proto-Scripty] Re: Cannot mix Prototype and Yahoo UI Library (YUI)

2009-04-08 Thread Ananth Raghuraman
Thanks for pointing me to the bug. Now I realize it is a systemic problem. I think the Prototype syntactic sugar for inheritance is clearer to understand and read than YUI's though both probably do the same thing under the hood. On Wed, Apr 8, 2009 at 10:30 AM, Trevan Richins