Displaying 20 results from an estimated 1000 matches similar to: "re: Questions about sortables"
2006 Jun 26
0
sortables and accept question
i did some searching through the archives and didn''t really find an
answer to my question, so i''m going to just ask it.
i have a situation where there are 3 sortable lists. list1, list2,
and list3 i need list2 to accept divs from all 3 lists, but list1 and
list3 to only accept divs from the list1 and list3 i''ve added two
classes to the divs in my sortables: .rail
2005 Jul 26
1
unmovable items on sortables...
The "Sortable lists demo" is almost perfect for a project, but once
you drag all the items from the first list to the second, you cannot
drag back to the first. I need to be able to have several <ul>s that
can be dragged back and forth between, even when one is emptied.
Possible solutions?
1) create a <li> that is styled as a header, and is unmovable
2) modify the
2005 Jul 26
0
re: sortable tree :)
> I haven''t looked too much at the actual code, but there is a
> SortableTree Class coming soon to script.aculo.us, I have been
> working on it here and there for about 2 weeks now and it is
> working very nicely in all browsers and most performance issues
> have been worked out. the tree is also collapsible!
Thanks! this is (almost) exactly what I have been
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
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 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 Nov 03
0
sortables w/ hoverclass
Good hello.
I'm confused by the 'hoverclass' option that can be passed to Sortable.create
It works with Droppables.add but (for me) it doesn't seem to do
anything when used with Sortables. (afaik Sortable.create just calls
Droppables.add and passes the hoverclass option through- or at least
it's supposed to)
Not sure if it's broken in the current svn script.aculo.us but
2007 May 09
0
Scriptaculous Sortables: dragging between sortables and reordering them by javascript?
Hello,
I wanted to drag elements from one sortable to another - not a
problem. the hard thing is that i want to call a JS function to
reorder the elements by certain criterias (ranking f.e.).
So the two involved sortables are firering two onUpdate event. When I
am changing the order of the LI-elements of the first Sortable (by
removing them and adding them again), the second onUpdate event will
2006 Jun 24
0
Sortable with sortables? this.destroy not a function O_o
Hi all
I am creating sortable list with the builder. Now i want these sortables to
be a sortable aswell. So i wrap a div around them and run sortable create on
the main-container.
I have it like so (simplified):
var myLists = new Array(); // start a empty array for push
var mainDiv = ''main''; // some already present div to carry all stuff.
function newList() {
var sortlist
2007 May 01
0
Small Scriptaculous Sortables Jitter
Hey all
I have a project that i''m working on where I''m making extensive use of
sortables.
I''ve noticed that when my sortable item height is approximately less than 30
pixels, when I try to reorder the sortable it jitters between 2 positions
and causes a nasty effect.
I expect it''s to do with the tolerance percentages and pixels- when you
start to get that
2005 Oct 10
1
Sortables dropOnEmpty does not work inside tables
I would like to be able to move Sortables among table cells, including
empty ones. However, dropOnEmpty does not seem to work inside tables.
I can always emulate tables using CSS, but I was just wondering if
something in the javascripts is preventing this.
Thanks,
Shane
2006 Jan 08
0
Problem with sortables and draggables on same page.
here is my test page:
http://www.brianpeiris.com/test/temp.html
clicking on the buttons labeled "Edit Description", "Edit Announcement",
"Add to Schedule" or "Add a Link" draggable windows should appear.
if you drag anyone of them over the sortable list of links at the bottom of
the page and release the drag, the sortables appear above the windows.
Is this a
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
2008 Mar 10
0
Sortables, acts_as_list and performance
Hi!
I have a reordering feature for one of my models. It''s done with
Sortables JS component that sends an Ajax request with a hash of new
positions for each item after reordering, with the following action
that processes it:
def reorder
params[:pos].each do |id, pos|
@user.activities.find(id).insert_at(pos)
end
head :ok
end
I''m using acts_as_list to
2006 Jun 29
0
Sortables question
Hello,
I am new to Scriptaculous, and was recently brought into a project using
it to create an email Newsletter builder. The idea is that the user
will have lists of elements that he can add to the email page by
dragging the element he wants to add from an "available sections"
container, to a "loaded sections" container. Dragging from the loaded
to available will
2005 Jul 21
3
Question about sortables
Hi,
I''m trying to use sortables to sort table rows and move them between
different tables (yes, it''s actual tabular data ;). However, either I
don''t know how to use the tag property of Sortable.create properly, or
it''s only working for li''s. Since it''s probably the first option,
could someone post an example of sorting tr tags and move them
2005 Oct 27
4
Nest sortables?
Hello All,
I''m wondering if it''s possible to nest sortables:
<ul id="first">
<li>One</li>
<li>Two</li>
<li>
<ul id="second">
<li>Three</li>
</ul>
</li>
<li>Four</li>
</ul>
<script>
... create sortables out of
2006 Feb 17
2
Add new lists to existing sortables container
Hi All,
I''m using scriptaculous for the first time. I''m creating a CMS where the user can simply drag menu items to change the order. This is all simple enough. My problem comes with nested menus. The sortables are fine within their own menu but not across other new menus. The reason for this is that I''m using AJAX and only create a sub menu when it''s parent
2005 Jul 25
8
My try on nested sortables
Hello,
please take a look at http://test.reasonmaker.com/sort/ where I made
some hacks to allow for nested sortables. I need a hierarchical,
sortable list, so I hacked away.
It generally works quite nicely, but:
( - The code needs my debug stuff and failed attempts removed )
- The code needs to be adapted to also work with vertical sortables.
It probably breaks vertical sortables.
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