search for: reverteffect

Displaying 13 results from an estimated 13 matches for "reverteffect".

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ź:
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
2008 Jun 19
2
Capturing draggable revert
...icon on drag (which I''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''...
2007 Feb 12
0
Scriptaculous - extending draggable via sortable
...s Drag and Drop. I have hooked my custom functions to the Drag and Drop using the following code: new Draggable(element, {revert:true, ghosting:true, handle: handle, onStart: CollectionDragDrop.dragStart, onEnd: CollectionDragDrop.dragEnd, onDrag: CollectionDragDrop.dragMove, reverteffect: CollectionDragDrop.revertEffect}); Now besides making the rows Draggable I want them to be sortable. But I am not able to pass on the onEnd, onStart hooks without modifying the scriptaculous code. Is there any clean way I can achieve this, which won''t break forward compatibility? Thank...
2005 Dec 03
0
dragdrop patch that enables dragging from and to divs with overflow:scroll
...s set to true, the draggable will 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(){ < <...
2005 Oct 26
0
Revert Effects Option??
Hi All, I''m trying to get rid of the appearance of flying objects 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 :)
2005 Sep 02
0
altering revert effect based on if dropped on given droppable?
Hi All Does any one know how to specify a different reverteffect on a draggable if its successfully dropped on a given droppable? What I need to do is when an image is dragged onto a droppable image I want the drop image to be replaced with the drag image, the drag image to fade out and then reappear where it was at the start of the drag, as opposed to the dragg...
2005 Jul 01
1
drag problem
Hi - my first post here so first of all can I say how impressed I am with this library Now to my first question - I''m simply trying to make a div draggable, here''s my test page: http://localhost:85/folio11.co.uk/js_tech_demo/scriptalicious_test.html what seems to be happening is that the first drag works fine, but on subsequent drags the div''s initial coordinates
2005 Jun 28
0
New beta of script.aculo.us
...e to Effect. (Effect2 is deprecated, but works too) * Added Element.setContentZoom() function * Added expanded Effect.Highlight ("Yellow Fade Technique") to have user-defined colors and autodetecting the background color * Sortable.create passes the zindex, starteffect, reverteffect and endeffect options to the underlying Draggables * Sortable.serialize now honors the only option on Sortable.create * New overridable options on Draggables: zindex, starteffect, reverteffect, endeffect * Fix a Gecko engine flicker on Sortables in dragdrop.js * Fixed event....
2005 Jul 05
1
[PATCH] script.aculo.us drag-and-drop patch
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2618 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050705/8b315d27/smime.bin
2006 May 23
3
Dragging a copy of an image and then reverting
...l in the dock after the move? (broken: image moves off the dock after the drag) http://u32.net/junq/imlib-demo-1/ I tried playing around with reverts but didn''t get anywhere: <script type="text/javascript">new Draggable(''image1'', {ghosting:true, reverteffect: function(e,t,l) { e.setStyle({left: l, top: t}) }})</script> Any ideas? Thank you, - Scott
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"