-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ken Snyder wrote:
> Dark Ambient wrote:
>> Is it possible to hide a few divs and show one all in one call ?
>>
>> <a href="#" onclick="Element.hide('canbackground','canposition',
>> 'canskill')",
>> Element.show('basicinfo');
>> well I had something like this but it was working very screwey.
> That should work.
Not anymore. Quoting r4881 commit log message:
"For consistency, Element.toggle, Element.show, and Element.hide no
longer take an arbitrary number of arguments"
Anyway, it can be chained like this:
$('canbackground','canposition','canskill').invoke('hide')
- --
Marius Feraru
-----BEGIN PGP SIGNATURE-----
iD8DBQFFbgq+tZHp/AYZiNkRAheZAKDNdLTuQMnQWBUVEtnznqNiZ7q6IACgyFL7
o7eRrF8zKqZ+H42Jk75ogwo=
=6reT
-----END PGP SIGNATURE-----
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---