Displaying 20 results from an estimated 1000 matches similar to: "onDrop don't fires"
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 24
3
New to Ajax
Hello,
I''m very new to ajax and was looking for advice on scriptaculous at their
website and they suggested i join your mailing list, I hope that was the
right thing to do, I haven''t installed ROR yet but i have downloaded the
needed one-click installer which i will setup sometime soon, until such time
i would like to work with scriptaculous in its native form in php files, the
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
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
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(
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 Jul 02
1
Stop sortable dop event
Hi!
I have a sortable list
Every item in this list has a droppable area
In this area I could drop some elements of the same list
Everything is ok except I need to stop the sortable event when I drop
an item in the droppable area
Is this possible?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
2006 Jan 23
8
question about Sortables
So, is there any way to specify a sortable to only do a callback when
the dragged item is dropped? As it is, the onChange is called whenever
you move the draggable to a new element (even if you don''t drop it), but
I''d rather only call my function after they drop it to avoid unnecessary
additional server calls. It looks like Droppable supports an ''onDrop'',
but
2005 Aug 09
1
Droppable refuse to react
Im having problems with Droppables, and read that there are some
attributes on the element that must be inline. What are those?
I''ve tried to copy some of the code from the shop-demo, and my code
seems to have the exact same attributes and more.
The problem is that the droppable refuse to react whenever I attempt to
drop a draggable on it, the onDrop does''nt seem to trigger.
2007 Dec 05
0
difficulty with onDrop in the ruby helper method
I need to return both the draggable element id and the dropped on
element id to a ruby method. I''m using the helper method
drop_receiving_element, and it''s all good and well until the onDrop
part. I really want to pass both id''s to the ruby method that I''m
calling. Really. However, it seems like onDrop only accepts a
javascript function. :url => {:action
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 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 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
2006 Aug 03
6
creating a recycle-bin
Hi all,
I''m trying to create a recycle bin for elements from a Sortable. To do
that I created an <img> (image of a recycle-bin ofcourse) and made it
a Droppable. However what should I do with the element in the onDrop
function of the Droppable to stop it from going back into the
Sortable? How do I remove it altogether from the page?
thanks and regards,
Jeroen
2006 Feb 07
16
Notify JS updates, oh my
Hey all,
I just wanted to let you guys know that I updated my notify script.
I still need to package it for easy download (next on my task list)
but it does what I need it to do. Any thoughts, comments?
http://thinkof.net/notify/index.html
Also thanks to those of you who helped previously.
-Greg
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 28
1
Problem with IE
Hi there, let me introduce myself, i am a web developer from venezuela, my
english is not the best, sorry by that...
i am developing a form builder, is simple, just dragging form elements to a
droppable container, all works well but im showing to my friends and...
surprise!!! doesn''t work in Internet Exploiter, i am a linux user with
firefox, im looking in internet how fix it but i dont
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 Nov 24
1
sortable - after complete dropping element want to send ajax reqeust with id of elements: draggable and droppable
Hi all. I have specific situations - I use sortable on html list, and
after I move elements I want to do ajax reqeust to serwer with the id
of dragging element and id of the element that was droppable. How to do
it? which function in Sortable class i have to overrider or modify? i
try to modife onhover method in sortable and put a ajaxRequest call
before methods
dropon.parentNode.insertBefore
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