search for: someels

Displaying 14 results from an estimated 14 matches for "someels".

Did you mean: someelse
2006 Mar 15
3
prototype.js Event.stopObserving
anyone have any information on how to effectively use this? Event.observe() doesn''t return anything, and nothing I''ve tried is actually removing the event listeners from the objects. -Jeremy -- Jeremy Kitchen ++ kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org In the beginning was The Word and The Word was Content-type: text/plain -- The Word of Bob.
2006 Feb 09
3
Draggables and Droppable performance (tips)
Hi all. I have some performance tips to share. I had been having problems with the overall performance of the drag/drop objects. This is due largely to the fact that my project really pushes the limits (potentially thousands of draggables and hundreds of droppables in the document at a time, although that is the extreme case). Something I discovered is that the performance of dragging goes WAY
2006 Feb 01
2
IE memory fix leak.
By default the prototype.js gives us the function /* prevent memory leaks in IE */ Event.observe(window, ''unload'', Event.unloadCache, false); But there is no unload event in out application as the content of the div keeps changing using the Ajax.Updater function. To handle such a scenario, we''ve added the following lines of code to prototype.js /* prevent
2005 Sep 18
3
Attaching effects during onload
I''m trying to attach effects to elements in my onload handler and my lack of Javascript-fu is showing... I want to call the effect from the onclick handler of an anchor inside the div I want the effect to apply to. Here''s what I''m trying to do: function doOnLoad() { var filters = document.getElementsByName(''filter''); for
2006 May 28
10
Drag''n''Drop out of overflow:auto containers
Cheers, I have some elements inside a div with overflow:auto. When I trie to drag them outside of the div, the div starts to scroll. Is there a way to stop this behaviour for drag and drop? I thought of maybe using callback to disable the overflow and restoring it againg after the drop. Did someone implemented something like this? Thanks, Jonathan -- Jonathan Weiss
2006 Jun 12
5
scriptaculous & sortables/draggables scrolling?
Re, Would anyone happen to know how to make sortable/draggable scroll down the page while moving the object if the page happens to be larger than the screen size? These functions seem to work only within the visible working space. Right now I have workaround whereby I have an omnipresent DIV on the screen to which I drop an element, then scroll down in the browser to a certain point, and then
2007 Jun 05
2
.activate() behaviour
Hi all, I''m trying to understand why the following code doesnt work... ---------------------------------------------------------------------------------------- <html> <head> <title>blabla</title> <script type="text/javascript" src="prototype.js"></script> </head> <body> <form action="bllalba">
2006 Sep 14
10
scriptaculous Toggle Appear rate
I have the following code to toggle a basic appear of a div: <a href="#" onclick="Effect.toggle(''d3'',''appear''); return false;">Toggle appear</a> I want to edit the rate in which the effect runs. I can''t for the life of me figure it out. I would like to make the effect complete faster, like .5 seconds. I''ve
2007 Mar 08
7
ZKoss
Hi All, Has anyone here used zkoss.org? What do you think of it in comparison to scriptaculous? -- Leonard Burton, N9URK http://www.jiffyslides.com service-CbOvBfcOUrWrJCssh9Shfg@public.gmane.org leonardburton-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org "The prolonged evacuation would have dramatically affected the survivability of the occupants."
2006 Feb 26
14
Question abour Draggables & Droppables
Hi, What I need to know is how to change revert:true to revert:false from a draggable after I drop it on a droppable so it doesn''t return to its original place. Something like: [CODE] <!-- Draggable image --> <img alt="Product" id="item" src="icon.png"> <script type="text/javascript"> new
2006 Apr 06
1
RE: Drag and drop events. Or: How I learned to takeover the world.
You should open up dragdrop.js in the scriptaculous directory and take a look at the interface for Draggables/Draggable. There is an event for dragStart, dragging, and dragEnd (not by those exact names but you should see them)... sorry I can''t offer more help than just pointing you in the right direction... very busy. Good luck, nice start! The information transmitted in this
2006 Feb 28
0
Question abour Draggables & Droppables - my code example
hi i think my example is very simple and straightforward so i''m not sure if it meets your needs (change revert:true to revert:false from a draggable after I drop it on a droppable so it doesn''t return to its original place.) i did this # 2 divs created here <script language="javascript"> new Draggable(''drag'', {revert: false});
2006 Oct 20
1
Event.observe vs. element.onxxx =
What are the pros and cons of using Event.observe vs. element.onxxx = somefunction ? I noticed that a lot of sau code doesn''t use Event.observe. For example, InPlaceEditor uses this.form.onsubmit = this.onSubmit.bind(this); In my code I''ve made a habit of using the equivalent (for example): this.onSubmitListener = this.onSubmit.bind(this);
2006 Jun 14
5
generic onDragStart onDrag and onDragFinish events extracted from scriptaculous?
Hi folks. I''m working on a project where I need some drag and drop, but I need to implement what happens in a very different way, so I''m creating my own class for it. I don''t want to reinvent the wheel and redo Thomas'' excellent drag/drop functionality, nor do I want to copy/paste his code over into mine. So, I was wondering, has anyone tried to extract