ah ok, thx
kalle

On Apr 23, 10:21 am, Tobie Langel <[EMAIL PROTECTED]> wrote:
> Hi kalle,
>
> Your question will get best answered in the spinoffs mailing list[1],
> as this list is reserved for development.
>
> Best,
>
> Tobie
>
> [1]http://groups.google.com/group/rubyonrails-spinoffs
>
> On Apr 23, 9:38 am, kalle <[EMAIL PROTECTED]> wrote:
>
> > Hey,
> > i would like to override the setStyle method, so that i don't need to
> > touch the prototype.js file and still call the method like this
>
> > $('some_element').setStyle({...})
>
> > i tried sth like. this but it (obviously) didn't work:
>
> > var MyPrototype = Class.create(Element, {
> >   setStyle: function(element, styles) {
> >     alert('cs')
> >   }
>
> > });
>
> > thx for tipps
> > kalle
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to