similar to: Knowing the positions of Draggables

Displaying 20 results from an estimated 30000 matches similar to: "Knowing the positions of Draggables"

2005 Jun 23
0
dragdrop library
Thomas, Special thanks for the dragdrop library. I consider your javascript abilities quite superior to my own, in fact I''m just setting out on a quest to master javascript, I found your library the other night and started hacking away on my app. I replaced a dom-drag.js library I was using before with yours since it integrated with prototype better, and appears to be better coded.
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});
2005 Jul 19
0
draggables bug(s)
Loving using draggables/sortables in rails... two small issues though - First bug: creating a draggable object with a handle in rails: <%= draggable_element "item_#{item.id}", :handle=>"myhandle" %> this generates code like this: <script type="text/javascript">new Draggable(''item_7'', {handle:myhandle})</script> ***
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 19
0
ghosting draggables
Hi All I''m not sure if this is possible but.... Currently what happens is this *I have a draggable which is ghosted on drag * On release of the draggable the orgional element (the one that doesnt move) disappears and the ghosted element reverts back to the origional elements postion what I''d like is: *have a draggable which is ghosted on drag * On release of the draggable
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
2005 Aug 15
6
setting position for draggables?
Hi list, how can I set the top and left CSS properties for draggable divs? When I modify the properties directly, the DIV jumps to its old position when I start to drag it. Thanks in advance! Martin _________________________________________________________________________ Mit der Gruppen-SMS von WEB.DE FreeMail k?nnen Sie eine SMS an alle Freunde gleichzeitig schicken:
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
2005 Aug 10
3
Limit to the number of draggables?
I''m wondering if there''s a max number of draggables. I have a situation where there are something like 60-80 draggable items and they work fine on the test server with only a handful of items, but in production with the full load they no longer work. It''s possible there''s something else different -- somehting with style sheets or something, but I wanted to see
2006 Jun 20
1
Simple draggable
I just download 1.6 and tried doing a simple draggable , but it doesn''t work. Firefox console / evaluate : Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebNavigation.loadURI]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://global/content/viewSource.js ::
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
2005 Aug 24
4
scriptaculous: Draggable and table rows
I''m trying to add drag/drop for moving rows between two tables, and not having much luck... I can get images to be drag-able OK so I know all the script files are in the right place ;-) But no joy with table rows. Is this a Draggable and/or Javascript/HTML limitation? Here''s what I''m trying: <html> <head> <script type="text/javascript"
2006 Mar 07
1
Sortables/Draggables and overflow
If the containing element has it’s overflow property set to anything but "visible" and I try to drag something out of the list, the draggables are dragged underneath the “border” ( the hidden area of the container) and thus become partly or completely invisible. Any ideas to prevent this from happening? I think, a future solution might be to immediately (on startDrag) detach the
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
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 Oct 17
0
Draggables Question
Hello guys, I am creating a file browser using the libraries. I am having a problem with the draggables. When start dragging a draggable in firefox it puts a line under the dragable and does not remove it. I have the draggables on span tags with an a tag as the child and an image and some text as the child to the a tag. Is anyone else having these problems. Thanks Jon
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 Mar 06
0
Problems with unregister draggable
hi! i am working on a tree which allows moving nodes/subtrees via drag&drop. since i am not a javascript expert i try to stick to the script.aculo.us library without modifying anything. the nodes are loaded dynamically from my rails-app and have a unique ID. when a node gets moved to another folder, it disappears at its original destination (via Element.remove()) and gets drawn as soon
2006 Jan 13
1
Draggables causing text to be selected... solution?
Hi, it''s me again. Ok, so I''m using the Draggable class, and it''s great. However, dragging something often causes undesirable selecting of text on the page while performing the drag operation. Is there a way to prevent this? Sincerely, Ryan Gahl Design Engineer Camtronics Medical Systems (an Emageon Company) Ryan.gahl-nlycWCgr5/vuufBYgWm87A@public.gmane.org
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