search for: top_offset

Displaying 7 results from an estimated 7 matches for "top_offset".

Did you mean: topo_offset
2008 Jun 19
2
Capturing draggable revert
...ve accomplished), but I need to swap it back if the revert fires. I really, really wish there were an onRevert() option, but there isn''t, so I guess I''ll have to hack my own. I think this is where I''d hook it in (line 231 in 1.8.0): reverteffect: function(element, top_offset, left_offset) { var dur = Math.sqrt(Math.abs(top_offset^2)+Math.abs(left_offset^2))*0.02; new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur, queue: {scope:''_draggable'', position:''end''} }); }, I prop...
2005 Dec 03
0
dragdrop patch that enables dragging from and to divs with overflow:scroll
...be moved to the document body while keeping its position on the page. This enables dragging it out of the div. At the moment it only works with ghosting and revert, because I can''t be bothered to test the other modes just yet. Have fun 141c141 < reverteffect: (function(element, top_offset, left_offset) { --- > reverteffect: function(element, top_offset, left_offset) { 143,166c143,144 < new Effect.MoveBy(element, -top_offset, -left_offset, < {duration:dur, < afterFinish:(function(){ < < if(this.onFront) { <...
2006 Mar 07
1
Sortable trouble
Hi everybody, Could somebody have a look at a little sortable example at http://www.weisshuhn.de/diagnose/sortable.html It implements two Sortables and a Draggable. You can drag elements from the "source" Sortable to the main Sortable, sort them (surprise) and drag them to a trash. Whenever you drag from the "source", a new element is created (by cloning an invisible
2005 Nov 22
1
reverteffect - how to deal with this?
Hello everyone. Does anyone know how to deal with this? i try to change the idea of works revereffect:function but for know unsuccesfull. In my project i have to use dragable with revert: true but i don''t want have revereffect. Maybe any idea? Grzegorz Ślusarek ---------------------------------------------------- HARRY POTTER I CZARA OGNIA - PREMIERA KINOWA 25 LISTOPADA: Wejdź:
2005 Oct 26
0
Revert Effects Option??
...ts on revert. I was able to do this by setting the duration to 0 in the Draggable constructor. I''m not at all excited about this solution. Is there already some way to set the parameters of reverteffect in the options that I''m not seeing?? > reverteffect: function(element, top_offset, left_offset) { > var dur = 0; > new Effect.MoveBy(element, -top_offset, -left_offset, > {duration:dur}); > } Thanks!! Linda :)
2006 Jul 22
17
Problem getting form_remote_tag to work with image upload
Hey guys, I am trying to pass the parameters for the file being upload, but the params[] are not being passed. Ive read through some posts and realize this is an issue with RoR. I read through some of the posts and someone suggested using: http://svn.kylemaxwell.com/form_remote_upload/trunk/ I tried to install it, and although I thought I installed it correctly, it doesn''t work.
2005 Nov 04
19
Drag & Scroll
When using drag and drop, the browser window will not scroll if you move the mouse off the page. This makes it very difficult, if not impossible to create certain types of web applications. I know this has been mentioned before and is on the Wish List, but it''s very frustrating. If you look at this other Javascript library called "Drag''nDrop & DHTML Library"