similar to: Draggabales with EM instead of PX

Displaying 20 results from an estimated 10000 matches similar to: "Draggabales with EM instead of PX"

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 01
1
Sortable onUpdate problem
Hi, I have two sortables with different options (but same tags. just ''li''). When I drag an item from sortable1 to sortable2 I want it to gain the options that the sortable2 items have. I''ve tried all day to understand how Draggables and their observers are destroyed but I keep gettting buggy behavior. Part of the problem is the draggable and the draggableObserver are
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 Apr 10
24
Proposal of "Resizable" javascript library
Hi, All. I''ve developed the small javascript library to make the widgets "resizable". Please try attached file or following URL URL: http://221.112.61.214/~kzk/others/mixi/resizer.html Now I wish script.aculo.us developers to merge this into the "script.aculo.us". Is there any chance of merge? Is this a right place to ask this question? Thanks in advance. Kazuki
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});
2008 May 30
1
Drag and Drop with scriptaculous
Hello, I''m making my first steps with prototype and scriptaculous. I''m playing around with drag and drop. What I try to do: I have some Draggables and some Droppables. You can drag each Draggables to each Droppables. When I drop a Draggables I want to center the Draggables inside the Droppable. And here I get my first problems:-( I use this code: Droppables.add(
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
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 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 09
2
turning revert off after being dropped
I have a container ''A'' which contains Draggables and a Droppable ''Trash''. These Draggables are set with ''revert:true''. Now, if a Draggable from ''A'' is dropped in the Trash, I don''t want it to revert, I want it to just disappear. I''ve tried using draggable.destroy() but this just prevents it from being
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
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 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 Apr 06
0
script.aculo.us V1.6.1
V1.6.1 (2006-04-06): Sortable Trees, Prototype 1.5.0_rc0 (fixes IE mem leaks)! New features in V1.6.1 and V1.6.0: * Update to Prototype 1.5.0_rc0 * Sortable trees [thx Sammi Williams, sammi-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org] See the functional test (test/functional/sortable_tree_test.html) and the CHANGELOG for more information! * Add Draggable object as third parameter
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 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
2005 Dec 28
3
Sortable - can we make one or more elements in a list sticky?
In a sortable list, is there a way to say, pass a className whereby some of the elements in the sortable element would not become draggables/droppables? If not, it seems like it could be implemented similarly to the handle option.. Any interest? Also - I submitted a patch that adds the option "delay" so that draggables in a Sortable won''t truly become activated until after the
2007 Aug 07
0
Droppable to create new parent container automatically?
I''m modifying the GragPhoto implementation of nested draggables: http://www.gregphoto.net/sortable/advanced/ I''m uising it to allow the dragging of draggables from a column into one of the ''groups'' as shown on teh GregPhoto demo. It works well. The catch is that if I have 15 objects I want to drag onto 15 groups, I first need to create those 15 groups. This
2006 Jun 16
0
Draggables, Floats, DOM and IE
Hello All, While performing work on an upcoming project, we are running into a problem where floats are not showing up in draggables under IE when these elements are dynamically added to a container via the DOM. Of course, we are re-initializing the Draggables on re-insertion, but IE is not rendering the floats -- although they are there, and once the element is dragged, they appear. For a
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