Displaying 5 results from an estimated 5 matches for "na8ltxyqzotzdbswxskqfg".
2006 Jun 15
4
Yahoo!-like Event object emulation/abstraction in Prototype?
Hi,
I was reading about the Yahoo! library recently and was really
excited by the idea that I wouldn''t have to branch for IE in my
event handlers. Is there any chance that such abstraction will come
to Prototype?
Thanks,
Sam
2006 Jun 15
10
RE: Yahoo!-like Event object emulation/abstractioninPrototype?
If that doesn''t work, then you''ve done something wrong somewhere.
''Cause it works for IE for me and everyone else.
The only advantage I see with the YUI toolkit is that it''ll defer
attaching events to elements that do not yet exist in the DOM. Big
whoop, only a sloppy programmer would try to attach an event to a
non-existant element. With Prototype, you can
2006 Jun 15
3
RE: Yahoo!-like Event object emulation/abstractionin Prototype?
Event.observe(myelement, ''click'', myfunc.bindAsEventListener());
That might fix your wagon.
Greg
> -----Original Message-----
> From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-
> bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Sam Rowe
> Sent: Thursday, June 15, 2006 11:24 AM
> To:
2006 May 23
2
Draggables and z-index
I''m using Draggagle on a couple of divs and when I drop the first one, it''ll
always drop behind (in terms of z-index) the second one. I even added a
revert function to add a CSS class to the div that should raise it up, but I
think the style.zIndex is "winning."
Looking at the code, it seems like the zIndex stuff is set *after*
the revert function is called... is
2006 May 19
6
Multiple dynamic Sortables
I''m writing an appliation that contains several dynamically created lists. I
had hoped that the following method for using the Sortable library from
scriptaculous would work:
1) create the list
2) create a Sortable for it
3) create another list
4) create a Sortable for it
and so on. Unfortunately this doesn''t work. I can''t find any info in the
documentation for