For adding and removing class names, you should use Element#addClassName and
Element#removeClassName. It is much more consistent across all browsers.
-Hector

On Mon, Oct 13, 2008 at 12:06 AM, Mads <[EMAIL PROTECTED]> wrote:

>
> Could i use the .morph effect to change an entire class?
>
> Tried to do my own little script - here's a snippet of it:
>
> $(buttonId).setAttribute("class","buttonPressed")
>
> This doesn't work in FF though.
> >
>


-- 
-Hector

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to