similar to: getting element coordinate and save it in database

Displaying 20 results from an estimated 10000 matches similar to: "getting element coordinate and save it in database"

2005 Jul 20
3
examples of drag n drop
Sorry if this sounds cynical, ( i do love script.aculo.us scripts ) , but I am wondering if people know of some good real world examples of uses of drag n drop and sortable lists. such a cute script will likely be *ab*used as much as it is used. obviously the point here is to use script.aculo.us to improve the user interface rather than just have some k00l eFX. e.g. the drag n drop instantly
2006 Aug 25
5
Dragging between DIVs with Prototype/script.aculo.us
Hi, I''m fairly new to script.aculo.us, so hopefully this is the right place to ask this question. I have the following situation (pseudo-code): <div> <Droppable 1> <Droppable 2> </div> <div (scrollable)> <Draggable 1> <Draggable 2> ... </div> Basically, my Draggables are inside a scrollable <div> element (the interface
2005 Jul 06
1
BUG? Draggable''s handle implementation does not match the documents
Hi, First thanks for your great scripts! According to the documents:http://script.aculo.us/drag-and-drop The Draggable''s option ''handle'' value is a string referencing a CSS class. The first child/grandchild/etc. element found within the element that has this CSS class will be used as the handle. However, in the source code file dragdrop.js line 250, is, this.handle=
2006 Mar 01
0
Script.aculo.us: Dynamic Sortable List Problems
This is my first post to this mailing list so I hope its in the right location.I''m trying to use a list of draggables (not sortable) which I can drag into a droppable div. The goal is to create a new item, not to move from one list to the other. When a new draggable is dropped, a new div is added to the droppable div and a sortable is created. Everything is working fairly well, to
2006 Mar 22
2
RE: Support for window scrolling for drag anddrop
Will that work with Sortable as well? > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs- > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Thomas Fuchs > Sent: Wednesday, March 22, 2006 12:48 PM > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >
2006 Mar 22
1
RE: Support for window scrolling for draganddrop
To answer my own question, yes. I looked at the trunk and it passes the option on from Sortable. Greg > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs- > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Gregory Hill > Sent: Wednesday, March 22, 2006 12:51 PM > To:
2006 Apr 20
0
Sanity check of my Draggable code
Hi all I''m just getting started with script.aculo.us, and prototype etc. My first mini-project was to use Draggable to adjust the column widths in a page. Here''s the code (which seems to work) and any feedback would be appreciated - especially if I''m doing things the wrong way. Here''s the code: var colSpacer function initPage() { colSpacer = new
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
2008 Apr 07
2
iGoogle-style Widgets with Script.aculo.us?
I''d like to create an iGoogle-style page with a library of draggable layout widgets. Is such a thing using script.aculo.us already available? (Would hate to re-invent it.) Also, has anyone had success with nested draggables? For example, rearranging <div>s within an already draggable <div>? --~--~---------~--~----~------------~-------~--~----~ You received this message because
2005 Aug 15
0
script.aculo.us dragging from div with scrollbar
Hi, I''m new here, so if this turns out to be the wrong place to ask, please do tell! I''m trying my hand at creating a page using the scripts from http://script.aculo.us/ and I''ve run into a little problem. If I drag a Draggable from a <div> that has a scrollbar (css with either overflow: scroll set, of overflow:auto, since dragging the Draggable image always
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
2005 Jul 12
0
Drag and drop questions
Hi, Thomas and David, thanks for updating script.aculo.us to be compatible with IE7 and other Javascript libraries. I successfully integrated the libraries with my project, OpenRecord. I have a few drag and drop questions: 1) For my drag and drop event, I would like to the drop to do an "add" if the option or alt key is pressed, and do a "move" otherwise. Can I get
2005 Dec 02
0
Resizeable DIVs
I have an implementation of Resizeable DIVs that is based on the Draggable code from script.aculo.us. This is working for me, but is only tested on Firefox 1.0.x and IE 6. On IE, the display isn''t great at small sizes, and the DIV tends to jiggle. This can work with the element also being Draggable, but there is a restriction that the Draggable handle must be set, and cannot be the
2006 Mar 29
3
droppables
I am not sure how many of you are using draggables/droppables but I thought I would do some experimentation and try and learn how to use them on my own. Well, I have draggables, and I have droppables. I do have one question for now. The droppable onDrop event seems to pass in 2 objects, the dropped object, and the container the object was dropped on. My question is this, can I figure
2005 Jul 07
2
Allowing drops on "empty" sortable
Hey folks, On the Drag and Drop demo page in the Sortable Lists Demo section: http://script.aculo.us/drag-and-drop If you drag all of the items from the first list into the second list, it appears that you cannot drag a list item back into the first (now empty) list. Is there a way to allow a Sortable that is empty of draggable items to accept dropped items? Danilo
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
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
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
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});