search for: draggabl

Displaying 20 results from an estimated 294 matches for "draggabl".

Did you mean: 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 Draggable(item,{revert:tr...
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...
2006 Jan 25
8
RE: Make all LI items draggable
If you want the whole list draggable as one entity, you make one draggable. If you want each item draggable on their own, you need to make each one a new draggable. -----Original Message----- From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5...
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 down as you add draggables and (even more so) as you add droppables. This might be a "duh" statement, but I had originally th...
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}); Droppables.add(''drop'',{accept:''drag''...
2006 Jun 23
16
Help please-draggable
I asked the other day about this problem but haven''t received a response. Trying again: I just downloaded 1.6 and can''t get a simple draggable to work, which is weird. I know it''s not my browser since the demos are working. Here is my simple code. I''ve also had the "new Draggable" between the select tags. Didn''t change anything. <head> <meta http-equiv="Content-Type" content=&qu...
2005 Jun 23
0
dragdrop library
...ary 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. I''m making some suggestions and requesting some general feedback from you. My goal of using draggable objects is to have a customizable interface for my webapp. I''m not really looking for drag and drop functionality, just drag whereever you want. I would like a callback for dragEnd to reposition the element when the drag is complete. I found when I set out to do this that the app fail...
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 different. So confusing! Droppables.add and Droppables.remove seem to work well. Where is Draggables.add and Draggables.remove when I need them? My idea is to...
2005 Oct 14
6
Draggables onDragStart
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1027 bytes Desc: image001.gif Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20051014/b3c26edf/attachment.gif
2006 Jun 15
12
Why such bad performance with IE ?
Regarding DragDrop I am wondering what the deal about Internet Explorer 6 is. My application is near to final and now while testing browsers all but the IE6 are running as supposed to. Any other browser is performing smooth movement while IE compared provides a very bad expirience. I''ve seen some "tuning" infos on this list but they are either outdated or not actually working
2006 Jun 14
4
Extend Draggable
Hello all, I want to extend a draggable object so it has one more attribute (type attribute, so I can distinguish different draggable types). Can anyone tell me how to do it? I''ve search throught the examples (like http://wiki.script.aculo.us/scriptaculous/show/ExtendClass) but I can''t seem to understand what I should...
2005 Oct 11
8
Drag & Drop probs
Hi, I''m just trying out the possibilities of script.aculo.us / prototype having two problems... I have a draggable element with revert:false-property and two dropzones. (The draggables are in a <td> and the dropzones are <div>s if that is important.) 1. I want the draggable element to snap back to its original position when it gets dropped anywhere out of a dropzone. 2. If the draggable elemen...
2006 Apr 30
1
Draggable - how start action on start dragging and end action on droppping
Hi all. I have got situation that I made element draggable - and when element is dragged I want to start some action (e.g. shown AJAX indicator, and change one of CSS class in dragging element). What is the best way to achieve this? I search source code of the Draggable and I saw that there is 2 method: Draggable.initDrag and Draggable.endDrag so it...
2006 Oct 27
16
Returning coordinates of a draggable?
How difficult would it be to get the x and y coordinates returned of a draggable? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this g...
2006 Apr 06
1
RE: Drag and drop events. Or: How I learned to takeover the world.
You should open up dragdrop.js in the scriptaculous directory and take a look at the interface for Draggables/Draggable. There is an event for dragStart, dragging, and dragEnd (not by those exact names but you should see them)... sorry I can''t offer more help than just pointing you in the right direction... very busy. Good luck, nice start! The information transmitted in this electronic mail...
2006 Feb 03
3
overloading dragdrop.js
...ny AJAX link_to_remote and observe_field. What is the proper way to observe that the position (not content) of a div has changed? I can think of 2 manners, but both seem antiquated compared to the techniques here: 1. put a hidden field inside the div with the top+left, updating these values upon Draggable.finishDrag, triggering an AJAX event 2. Put a whole call to AJAX.Updater inside of a new method of Draggable, called when finishDrag is nearly done. Maybe that''s really 1 manner. In any event, is there a way to extend the Draggable object without modifying dragdrop.js? Can you add more...
2006 Jan 12
6
Draggable performance issues
Using the script.aculo.us Draggables, I''m noticing they are a bit less than fast. I drag them around on the screen and they jump and glitch to catch up with the mouse. Has anyone else noticed this, and are there any optimizations that have been identified that I can apply? I''m using v. 1.5 Sincerely, Ryan...
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? <...
2005 Sep 01
1
FW: In-place editor inside a Draggable
I was able to do a cheap workaround By putting this: this.editField.focus(); at the end of the enterEditMode: function() this still does not allow highlighting with the mouse. Also if there are regular forms in a draggable the end user is screwed especially when using firefox. -----Original Message----- From: Stephen Major [mailto:smajor@gmail.com] Sent: Thursday, September 01, 2005 3:28 AM To: ''rails-spinoffs@lists.rubyonrails.org'' Subject: In-place editor inside a Draggable Hello, I have not...
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 Dra...