search for: draggables

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

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
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 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@public.gmane.org] On Behalf Of
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 thou...
2006 Feb 28
0
Question abour Draggables & Droppables - my code example
...e specific > than "Re: Contents of Rails-spinoffs digest..." > > > Today''s Topics: > > 1. Re: Disabling anchor clicking in a draggable (Chris Lear) > 2. status = 200 something wrong??? (Grzesiek Slusarek) > 3. RE: Re: [Rails-spinoffs] Question abour Draggables & > Droppables (::Alex Rengel::) > 4. Re: Disabling anchor clicking in a draggable (David Z?lke) > 5. RE: Re: [Rails-spinoffs] Question abour Draggables & > Droppables (Ryan Gahl) > > > ----------------------------------------------------------------------...
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.
2005 Jun 23
0
dragdrop library
...t.offsetHeight)) > parseInt(Content.content.offsetHeight)) draggable.element.style.top = parseInt(Content.content.offsetHeight) - parseInt(draggable.element.offsetHeight) + ''px''; } } Content.init(''content''); // content is a container for the draggables var box = new Draggable(''drag_box'', { change: Content.confine }); var box2 = new Draggable(''drag_box2'', { change: Content.confine }); See my demo at www.cloudius.com Trying to make an interactive desktop-like interface. Next I was planni...
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 us...
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 do. Thanks for you help, H
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 element gets dropped on a dropzone, I want a copy of it on the original po...
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 looks like in initDrag method i should
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 group, send email to
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 is...
2006 Feb 03
3
overloading dragdrop.js
Hi everybody- First time poster, please be gentle. I have written a little rails app where you can create divs and move them around via Thomas'' wonderful dragdrop.js. I would like to be able to fire an AJAX event to update the top and left of the dragged object upon release. I see many AJAX link_to_remote and observe_field. What is the proper way to observe that the position (not
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 Ga...
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 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
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 Dragg...