Hi,
I'd like to use the morph effect of scriptaculous, using class names
as parameter, to keep all style data in my css files.So I call it this
way:

$('index_extra_header' + id).morph('identity_highlight');
...
$('index_extra_header' + id).morph('identity');

The original class of the elements is 'identity'.

The first morph action works fine, excepted that if I inspect the
element (using firebug), its class has become 'identity
identity_highlight', whereas I expect it to become
'identity_highlight'.

The second morph action starts fine, the background color is faded as
expected (from gray to orange), but at the end of the morphing, the
background color becomes suddently orange (the highlighted one). And
its class is still 'identity identity_highlight'...

Do I misuse this effect? Or is it a bug?

Thanks :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to