RobG wrote:
Incidentally, you can do it with jQuery with a single line and about
1/6th the amount of supporting script than Prototype.js +
Scriptaculous:
$('#id').slideDown();
<URL: http://docs.jquery.com/Effects >
You know, I wondered something recently. Have you ever actually
profiled something as simple as that call?
In Firebug, I get 231 (253 executed within my wrapper) calls.
For slideUp, I get 136 (158 executed within my wrapper) calls.
Granted, it only takes 20.x milliseconds to execute (even less for
slideUp), testament to jQuery's efficiency.
I wonder why so very many calls are required? Especially for so small
an example... for example. ;)
--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.