The normal dragging is very slow and glitchy, but the only other effect
I use so far is BlindDown and Up, which work ok. I went to the
script.aculo.us SVN trunk and grabbed the draganddrop from the test
directory (so it''s beyond v. 1.5.1), so I could use the drag-scrolling
effect. Lo and behold, when drag-scrolling is activated dragging is pure
and smooth as silk (however turning it off results in the same slow,
glitchy dragging as before). So clearly there is room for optimizations
in these effects. From what I could tell the difference in the dragging
function was that when doing drag-scrolling there is a setInterval call,
so the processing seems to be more asynch. I''m sure that can be applied
to the other effects as well. setTimeout and setInterval should be used
wherever possible IMHO.
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]
On Behalf Of Tom
...
Sent: Friday, January 13, 2006 6:02 PM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: [Rails-spinoffs] Really Slow Effects
Hi,
Please check out http://rixth.org/index.php (you can login with
username mr password mouse). Create a todo list, then press
''open''.
Add a few items (after about 8, is when it happens to me) then click
close. THe animation is not very smooth for me, it only displays about
3 frames. This is not because it is pushing a lot of content down
(look at the scriptalucous wiki effects treasure chest, that pushes a
lot of content down with no slowdown.
This issue has something to do with adding DOM nodes. The javascript
that powers this is at http://rixth.org/lib/javascript.php (right at
the bottom).
Is this a known problem and does anyone else experience a slow down?
My computer is reasonable, AMD XP 2800, 512mb RAM, it should be able
to take simple web effects.
Tom Rix.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
The information transmitted in this electronic mail is intended only for the
person or entity to which it is addressed and may contain confidential,
proprietary, and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from all computers.