Displaying 20 results from an estimated 11000 matches similar to: "Drag & Drop probs"
2006 Jun 24
6
Few questions
I apologize if these questions are not relevant to Scriptaculous. I
just want to get a general idea if I can acomplish some or all of
these things with the framework, and then what (if any) I''ll need to
do outside just using javascript.
For now, I have 2 column layout. On the right I want a form palette
where form elements can be dragged to the left column. I have a form
inside the
2008 May 29
4
Drag/Drop finding droppable's properties?
Hi All,
I am trying to develop a dynamic form creator application, whereby we
can drag objects from a "palette" and drop them onto a "form" to build
the design of our form.
To achieve this, when I have dragged the object, and dropped it onto
the "form" area, I want to get the position of where the object was
dropped.
I have a droppable area:
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(
2007 Apr 05
3
Trying to get drag and drop to revert when I want and stay at other times
Here''s the deal. I''m making an ajax-based chess game. It''s done but
there''s something I''d like changed. Right now, to move pieces, you
click on the piece you want and you click where you want the piece to
go. People expect that, but they also expect the ability to simply
drag and drop the piece. So I''ve been using the draggables and
droppables,
2005 Oct 25
2
Dragging to a textfield?
Hi All,
I''m trying to drag a copy of a string from a list into a text field so
that the original string stays in the list. I''m able to drag the item
and set the value of the text field onDrop. But the original text leaves
the list & with revert set to true it flies back to it''s original
position in the list. We''re trying to avoid the flying text.
What
2006 Apr 06
3
Drag and drop events. Or: How I learned to take over the world.
Hey all,
First, I just want to say thanks to all of you who read, and email
here frequently. So "Thanks".
Second, I have a little pet project. This one has not timelines,
and is mainly meant for my own personal growth and javascript
goodness. It is a drag and drop game, and it may not be 100%
possible to do everything I want with it. But that has not stopped
me from
2006 Jan 11
3
divider id of container
Hi there, i need to drag an draggable element to an child div node inside an
another div container, but i create the child node dynamicly with ids like ''
div_ + i '' where ''i'' is a incremental variable, thats the problem because i
need get the id of this child nodes to manipulate it, somebody knows how if
i drag the element to that child node i can get the id 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 Jan 11
3
sortables callbacks
i know someone just recently asked about queueing ajax requests, my
question is similar in the regards that i don''t want my application to
send multiple requests. i have 2 sortabbles lists left, and right. when
i move an item from left to the right the onUpdate callback will send 2
ajax requests. one for each sortables. however. i want it to serialize
and send back the results from
2005 Jul 28
3
chess
hi
I''m making a chess board app in Rails using the scriptaculous drag and drop
stuff.
A couple of questions, I am having trouble putting the chess pieces in the
correct
place - simply it seems that when i make somethign draggable it changes its
positioning
to relative - not so good for putting pieces on a board. Why is this ?
Also i can''t see an OnDrop callback in the API
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 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
2006 Aug 07
8
Dropables problem on scroll bars
I have a droppable and draggable implementation. works pretty much well
except when my droppables are on a scrollbar (created via overflow:auto)
since my droppables are on a list.
seems that the droppables aren''t working well with scrollbars and overflow.
please help!
thanks!
_______________________________________________
Rails-spinoffs mailing list
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
2005 Oct 20
4
z-index and dragging
Hey Guys,
I''m having trouble with getting my draggables to go over the top of
other items on my page. For instance, if I drag an icon from ''lower'' in
the page to a ''higher'' point then it slides underneath it visually. I
have set the z-index to a very high number and that doesn''t seem to have
any effect. Are there other things I need to
2006 May 28
10
Drag''n''Drop out of overflow:auto containers
Cheers,
I have some elements inside a div with overflow:auto. When I trie to
drag them outside of the div, the div starts to scroll. Is there a way
to stop this behaviour for drag and drop?
I thought of maybe using callback to disable the overflow and restoring
it againg after the drop. Did someone implemented something like this?
Thanks,
Jonathan
--
Jonathan Weiss
2006 Mar 29
2
Drag/Drop and KeyPress
Hi!
is it possible to make a drag dependent on a KeyPress event? I couldn''t
find any information on that on the script.aculo.us website.
My scenario is the following:
I have a tree with several nodes (like windows explorer). Right now i
use Drag & Drop to move a node below a new parent.
Now i want to implement a copy mechanism which allows the user to copy a
node through Drag
2006 Jun 26
2
Drag''n''drop DOM elements between (I)FRAMEs
I am quite disappointed in the drag ''n'' drop support in Mozilla Firefox.
What am trying to achieve is dragging an element from one IFRAME/FRAME into
another IFRAME/FRAME. But upon dropping the element, I do not want the
target IFRAME/FRAME to open/load it. I want it simply to handle the event,
such as parsing the element/data dropped. Such uses as dropping an element
into a
2006 Jan 20
3
disabling drag''n''drop features on some areas
Hi,
I have implemented the drag and drop feature to move around some divs, but I
have a small side
effect i am trying to clear:
When the draggable div contains links, and if the user grab the div on the
link, the drag is done but
the link is also visited, leading to unwanted issues.
What I''ve tried to do is to look for all ''a'' tags in the draggable elements
in order
2005 Sep 14
4
How to drag/drop visitable anchors ?
Hi !
I have the following:
<li id="photo_<%= @photo.id %>" class="photo">
<%= link_to(image_tag(url_for_file_column(:photo, :picture)),
{:action => ''photo'', :id => @photo},
{:title => @photo.description}) %>
</li>
<script type="text/javascript" language="JavaScript"><!--