similar to: Dropped Position on a Page when using a draggable element

Displaying 20 results from an estimated 50000 matches similar to: "Dropped Position on a Page when using a draggable element"

2008 May 02
2
making an element draggable after it's been dropped in a drop zone
Hi, I have this code which allows me to drop a draggable item in to a droppable zone. It works fine but what i want to happen is once the item ( droppable) has been dropped in to the drop zone (dropp) for the item to be draggable again. At the moment once ive dropped the item in the drop zone i can''t make it draggable again.....even if i repeat this line: new
2006 Nov 24
1
sortable - after complete dropping element want to send ajax reqeust with id of elements: draggable and droppable
Hi all. I have specific situations - I use sortable on html list, and after I move elements I want to do ajax reqeust to serwer with the id of dragging element and id of the element that was droppable. How to do it? which function in Sortable class i have to overrider or modify? i try to modife onhover method in sortable and put a ajaxRequest call before methods dropon.parentNode.insertBefore
2006 Feb 16
4
cancelling droppable if draggable dropped on different droppable
I''m writing a web app in which I have several ''windows'' in which the user can perform given functionality. So for example I have one window which manages images on a server (drag an image into a folder and the file physically moved on the server via ajax ) These images can also be dragged into another window to create a slideshow. My problem
2006 Feb 24
2
declaring draggable object that holds it position
Hi i posted this question earlier on how to create a droppable div(New to Ajax), and i have just realised that my code does work, however the function doesn''t work the way I expected it to, I would like my draggable to remain where it was dropped, currently I have a draggable div and a droppable div. I would like to try create a puzzle type game which has a set amount of droppables and an
2006 Feb 14
0
Another draggable/droppable performance booster
This one is as much for Thomas as for the rest of the list (might be a good one for the official build)... I made a change to the dragdrop.js file that significantly improves overall performance of dragging when there are more than one (or many more) droppables on the page. I modified the Draggables.updateDrag method, and added another method below it, and then in Draggable.updateDrag I
2010 May 03
0
Scriptaculous, snap draggable to droppable or revert
Hello community, I am a fairly new RoR programmer and I need some help with Scriptaculous Drag and Drop: So I have <%= draggable_element(@div_id, :revert => "failure", :snap => 5) -%> and a droppable: <%= drop_receiving_element(@team_div_id, :with => "''player='' + (element.id)+ ''&position='' + #{draft_position}"
2007 Jul 29
2
How to make Draggable Widgets with Placeholders
Hello. I''m trying to do some drag-droppable widgets like Netvibes.com ... I''m completely looking for a code like Netvibes. How can I do that with Prototype or Script.aculo.us? I want to make them droppable on placeholders like netvibes. Any ideas or links? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2006 Jan 13
1
Capturing the position of a draggable element
I would like to capture the position of a draggable element after it''s being dragged, but I am running into problem using several options, such as "change", "revert" and "onEnd". My callback handler would only fire when the page loads, and not when the element is dragged. How can I make this happen? <html> <head> <script
2005 Oct 17
1
Passing a draggable element''s attributes to controller on drop
I''ve browsed the list and noticed a few similar questions in the archive about maintaining the position of a draggable element after dropping it ... but I couldn''t find any conclusion about the problem. Has there been anyone found or implemented a solution? Or does prototype still need to be extended to allow the persistence of the draggable object''s position?
2006 Feb 28
0
How to Duplicate Draggable after Drop
Hi, I''d like to know how to make a draggable appear in the same place where it loads after I''ve dropped it on a droppable, the revert value is set to false because I don''t like it when it returns to its original place, instead I want a new one to appear in its original place, is this possible? _________________________________________________________________ Express
2008 Jul 01
0
Draggable item absolutely positioned inside relative div
Actually, it''s a bit more complicated than that... I have a div (we''ll call it the "portal") of a fixed size and absolute positioning, with an overflow: scroll set. Inside, I have a container div with relative positioning. This inner container has a series of absolutely-positioned elements which are draggable with a vertical constraint. The height of the container is
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 draggable scrolling across the page
2008 May 14
0
draggable gets offset on scrolling when its container is position:fixed
hello, my draggables are located in a DIV which is position:fixed ... so my "cart" stays always at the bottom of the page. when the page gets a vertical scrollbar now, then the droppables zone gets an offset of exactly the scroll ... the same topic can be found here: Having problems with "position:fixed; bottom:0%;" and dropzone div''s Optionen
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 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 Dec 25
0
Draggable: help with REVERT function
Hi! Help me plz: I have Draggable div (that has REVERT function) and Droppable: REVERT must be TRUE, but if Draggable is accepted by Droppable - REVERT must be FALSE. How it can be realised? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send
2006 Dec 18
0
How make like this by usung aculo.us?
Hi, all! Look here http://www.artlebedev.ru/tools/technogrette/etc/admin/ (the bottom example) Can I do somethinhg like this using prototype and script.aculo.us? I think we need to: 1. get X and Y position of the Draggable 2 set revert = true or false by calculating positiong of the nearest Droppable 3 If Draggable is accepted by Droppable - set snap:[xd,yd], where xd and yd - Droppable
2005 Oct 14
0
droping element and effect "of comming from nowhere"
Hello everyone. I''m using drag and drop on my site, I''v notice strange effect about droping. When I hold element over the droppable area, and drop on it, i see that element not exacly drop on the droppable area, I see something like element coming from outside of the screen, or coming from diffrent position, it''s look like element slide and then is dropped on the
2006 Jul 10
1
:revert => false for Droppables
Right now I am using page.remove and page.insert for some complex nested moves in RJS. I have my draggables set to revert, but they also revert when they hit a droppable. Meaning, the draggable will start reverting for part of a second before the page.remove kicks in. Is there a way to specify :revert => false for the drop_receiving_element, or something else to that affect? -- Respectfully:
2005 Dec 30
4
AJAX Drag and Drop Detecting Drop Coordinates
This one''s kicking me in the *(&#^. All I want to do is create a draggable item and then detect the coordinates where it is dropped. So my first approach was to just use the draggable_element with :revert => false, like so: <%= draggable_element "my_element", :revert => false %> That works great and lets me drag stuff all over the place. In the scriptaculous