Displaying 20 results from an estimated 10000 matches similar to: "RE: Rails-spinoffs Digest, Vol 2, Issue 22"
2005 Sep 19
0
Sortables and not-Sortables
I have some drag and drop to do that is just a little different from the
scriptaculous demos. My application has a shopping cart-like setup,
where the user needs to drag an item from the main content area to a
particular position in the cart. I don''t want to be able to sort items
in the content area. That is, the target is a Sortable list, but the
source is not.
Problem one was that
2005 Jul 20
3
examples of drag n drop
Sorry if this sounds cynical, ( i do love script.aculo.us scripts ) ,
but I am wondering if people know of some good real world
examples of uses of drag n drop and sortable lists.
such a cute script will likely be *ab*used as much as it is used.
obviously the point here is to use script.aculo.us to improve
the user interface rather than just have some k00l eFX.
e.g. the drag n drop instantly
2005 Dec 17
0
hoverclass doesn''t seem to be set from Sortable.create
Hey folks,
I''m having a little trouble with the hoverclass parameter of the Sortables.create method. Unfortunately I can''t post a demo page at this time, but I''m creating three lists with the following code:
Sortable.create("listOne", {dropOnEmpty:true,containment:["listOne","listTwo", "listThree"],constraint:false,
2005 Oct 12
0
question about scriptaculous drag and drop shopping cart
I got the dragging to work, and the adding the to cart , but i''m having
a problem drag from with the cart div it doesn''t drag. But the
dragging works on the cart (url)
here is a quick example of the cart
http://64.90.176.114/ajax/drag.php
- try dragging into the the solid line div (it will add an item to the
db). but then try and drag from within the solid line div (gray
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
2006 Jan 09
6
drag and drop problem
I am working on a resource planning problem. I like to use a nice drag
and drop interface for that. E.g. have a box of persons and a box of
projects, now I would like to assign a persom to project by dragging it
from the available resources box to a recieving project box.
I have studied the amazing drag and drop shopping card code listed here
http://demo.script.aculo.us/shop
What I need to
2005 Jun 29
0
Pb : keep the coordinates after drag and drop
Hi,
I''m coding a shopping cart using your effects library.
There are 2 parts in my page. On the left the list of my products and on the right the shopping cart.
I can sort dynamically my products (by price, title, etc...) . I have a problem when I do a sort, and I want to drag a product. My system keep the initial position of each product. The products moves correctly after the
2006 May 18
1
Drag and drop purchased items into a shopping cart
All,
does any one has a drag and drop sample code using rails and ajax that
I can use as a starting point for mine? I ''ll for customers to drag and
drop item being purchase into their shopping cart.
Thanks
Patrick
2005 Nov 29
6
draggable revert problem
Hello,
I have tried implementing the shopping cart ajax example and have run into
some problems. The only differences with the shopping cart is
My list of products are generated from a partial view
The images of the products come from an http link.
However, Iam seeing a strange behavior when I drag and drop the elements to
my cart. On the first drag and drop the image successfully reverts to
2005 Nov 11
0
Re: Rails-spinoffs Digest, Vol 6, Issue 17
Hey I got a question regarding sortables. I can drag and drop the items on a
page to different locations. But when I refresh the page the contraols are
goin to their inital positions. Is there any way that I can make them stay
in their new positions even after post back (refresh)??? Thank you.
On 11/11/05, rails-spinoffs-request@lists.rubyonrails.org <
2005 Sep 08
1
Draggables - without moving the original element
I''m needing to implement some drag and drop in a way that leaves the
clicked element where it is, and carries a new element over to my
Droppable. Its analogous to a shopping cart: I want to drag a
representation of an item into my cart, but leave the original item
intact in the main product list. Does anyone have any tips on how to
approach this? Its seems to use
2007 Nov 09
0
iframe is reloading during each sortable drag/drop point
We are creating a simple widget portal for our site and trying to use
Sortables. Each of our widgets is an iframe. But when you try to
drag an element containing an iframe the Sortables api causes the
iframe to reload at each possible drop point. This causes the ui to
shutter and become unusable.
I have narrowed the issue down the onEmptyHover where
dropon.insertBefore is called. Is there a
2005 Aug 24
1
Strange Bug - Dragging a sortable filled with sortable - the bigger one "stays"...
*** don''t know if i''ll be clear... if not, tell me
Hi.
http://favoris.lichenmedia.com/untitled.htm
I don''t know why, but when I drag those sortables (tagged with the handle
handle) filled with the sortables (the lists with lorem ipsum) The
handled-one "stays" where you dropped them.
When you drag the li between the uls that are the big containers, no
2007 Sep 02
1
Scriptaculous - Sortables problem within a scrollable div
Hello everyone:
I''ve been using scriptaculous for very long time and it''s really good.
However, I just came across another problem about using sortables in a
scrollable div.
The basic structure is:
<div style="overflow:auto; height=400px">
<div id=''Item1''></div>
<div id=''Item2''></div>
....
2005 Sep 20
1
multiple items drag and drop
Does anyone know how I can create something that would enable me to drag & drop multiple items?
Example: In an email application (like outlook web access) I want to select multiple mails and move them to a folder.
Is it possible to do it with this library?
The shopping cart example doesn''t let you select the other div (image) using the control key...
Any help would be greatly
2006 Mar 07
1
Sortable trouble
Hi everybody,
Could somebody have a look at a little sortable example at
http://www.weisshuhn.de/diagnose/sortable.html
It implements two Sortables and a Draggable. You can drag elements
from the "source" Sortable to the main Sortable, sort them (surprise)
and drag them to a trash. Whenever you drag from the "source", a new
element is created (by cloning an invisible
2006 Jan 20
1
[protoype] Problem with Effects on draggable element if revert is true
hi,
I have a draggable element (cart-item) in a shopping cart
<%= draggable_element "item_#{product}_#{i}", :revert => true %>
When this element is dragged outside the cart into the "main_div", I want to
show a puff effect and remove the element. When it is dragged within the
cart, it should revert.
So i wrote this code for drop_receiving _element
<%=
2005 Jul 13
2
A small question about dragging effect on sortables
Hello,
I''m implementing sortables in Rails and I can''t seem to get the
lovely effect from the Sortable Floats Demo on Thomas'' wonderful site:
http://script.aculo.us/drag-and-drop#sortable-floats-demo
Simply put, I can''t get the effect whereby you''re dragging the image.
When I have a vertical or horizontal constraint on a list, the effect
2007 Nov 16
1
drag & drop list needs refreshing
Hello guys, I''m a scriptaculous newbie (I started working with it only
yesterday) and I have already the first problem.
I''m trying to implement a drag & drop list (fallowing the shopping
cart example http://demo.script.aculo.us/shop) and I''m almost done
but after dropping an item on the target div I need to refresh the
page to see that the item has been moved.
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