> 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 YUI-related,
or unrelated?  If unrelated, I suggest posting details in a separate
thread; completely unrelated questions in the same thread tends not to
work.  If YUI-related, I'd post the details here.

T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available

On Apr 7, 10:59 pm, Ananth <araghuram...@gmail.com> wrote:
> I am unable to do the following within the Yahoo UI Library framework
> with Scriptaculous:
> YAHOO.namespace("mycompanyname");
> YAHOO.mycompanyname.MyClass=Class.create({
>            initialize:function()
>            {
>            }
>            ,
>            anotherFunction:function(options)
>           {
>           }});
> YAHOO.register("YAHOO.mycompanyname.ModaViews",
> YAHOO.mycompanyname.ModaViews, {version: "0.99", build: '11'});
> Any ideas? Also new Element(id,{}); does not work on IE 6..
> Thanks!
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to