Displaying 20 results from an estimated 10000 matches similar to: "Adding a handler for a pre-existing draggable"
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 Jul 01
0
Draggable item absolutely positioned inside relative div
Actually, it''s a bit more complicated than that...
I have a div (we''ll call it the "portal") of a fixed size and absolute
positioning, with an overflow: scroll set. Inside, I have a container
div with relative positioning. This inner container has a series of
absolutely-positioned elements which are draggable with a vertical
constraint. The height of the container is
2007 Feb 12
0
Scriptaculous - extending draggable via sortable
Hello,
I have created a Yahoo style Drag and Drop using Scriptaculous Drag
and Drop. I have hooked my custom functions to the Drag and Drop using
the following code:
new Draggable(element, {revert:true, ghosting:true, handle: handle,
onStart: CollectionDragDrop.dragStart, onEnd:
CollectionDragDrop.dragEnd,
onDrag: CollectionDragDrop.dragMove,
reverteffect:
2006 Jan 30
0
Draggable with auto-scroll
Thomas, I''m mostly writing this to you. A couple weeks ago I grabbed the
latest SVN version of dragdrop.js because I needed the auto-scroll
functionality. I just fixed something in that script that wasn''t working
correctly and thought you might want to hear about it. You may have
already caught it since I grabbed the script but here it is anyway.
In the updateDrag() function
2006 Dec 19
3
IE and Draggable: Image loading
Hi everyone,
I''m having a problem dragging a div with a background image using the
draggable library. What happens is that, while I''m dragging it, it
reloads the background image with each pixel movement (like an ''onDrag''
function). Has anyone else experienced this, or does anyone know how
to fix it? Thanks in advance.
Cheers,
Justin
2006 Feb 03
6
Rich Text Editor
I know I saw something a while back about a simple Rich Text Editor; did
that go anywhere? I''d love to see something as simple as the one google uses
in gmail. If not, I''ll get started on it :-D.
-Jerod
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Jan 31
1
Finding Final Position with a Draggable Object
Hello,
I have a draggable window. I would like to have it so that when they
come back to the page with the draggable window that it remembers where
they left it when they last visited. How would I get the final position
after the dragging has been stopped? I have been looking threw the wiki
and couldn''t find anything.
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
2005 Dec 21
3
IE/CSS issue using Sortables....but only on the first drag
OK, I''m in need of help :)
I''ve got a bug in IE (whoa!) that I can''t figure out. I think its
CSS-related, but I sure can''t figure out what the problem is.
Go here: http://jerod.ontasksoftware.com/demo/index.php
and drag one of the items in the center listbox. In FF, it works
beautifully. In IE6, it shoots off to the left...but ONLY once. After
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 12
0
OnDrag callback. Is there such a thing?
I''ve asked this question before but posted it at the
wrong place. Anyways, I was trying to find out if
there is an OnDrag callback that I can use in
DragDrop.js; something that is called as soon as the
draggable is moved from its position, similar to the
startDrag, cancelDrag and endDrag callbacks available
in rico.js (www.openrico.org). If there is such a
callback, could you please show
2005 Dec 08
3
Choppiness in FF v1.5
Hey all,
I''ve got an interesting one for anyone who''s up for a challenge.
Essentially, I have a very choppy effect, that almost looks like
timeouts are overloaded or interfering or something, that only occurs
when sortables are on the same page as "standard" effects. Here''s what
I''m doing:
I have a menu that slides in and out on the right side of
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
2006 Feb 13
8
Netvibes.com / Scriptaculous
Hi list,
Is it possible to create a "dashboard" type application, like
Netvibes.com, w/ script.aculo.us?
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Mar 21
9
IE flakiness?
I set up a simple BlindUp and BlindDown div that works seamlessy in Firefox
but doesn''t work as smoothly in IE. When blinding down, the whole div
flashes and then Blinds down. The same thing when blinding up. Is this
something that is fixable?
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
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 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
2005 Nov 11
0
A couple of draggable patches...
Hi all,
I've just raised a ticket <http://dev.rubyonrails.com/ticket/2826> with a
patch for enabling 'snapToGrid' feature for draggables.
I'm writing a framework on top of scriptaculous and it appeared to me that
this would be something that could belong to core Draggable objects.
To activate, just add to draggable options on creation. (By default gridSize
is set to 10)
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
2007 Aug 23
0
Draggable on IE & Opera
Hi, all!
Have anybody problems with draggable in IE and Opera. The problem is
i''m creating simple draggable object like this:
new Draggable(my_div);
In firefox it works very fine. But in IE when I''m moving(dragging)
cursor div is stalling and drags very slow. and in Opera it keeping
tracks colored in color of the div.
Is reason in browser or there is the bug in framework?