Displaying 20 results from an estimated 10000 matches similar to: "Scriptaculous Sortable Demo"
2006 Jan 31
1
RE: Re: form elements in sortable lists
I never got it to work back on one of the early release candidates of
scriptaculous 1.5. However, I thought I read in one of the release
notes that it was fixed. Are you using the latest version? I ended up
just disabling the sortable while they were in ''editing'' mode, and then
recreating it after they were done editing.
Greg
> -----Original Message-----
> From:
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:
2008 Jun 05
0
Scriptaculous: Sortable not firing in IE7
I have a ul that is set to be Sortable. The id naming scheme for the
underlying elements is the proper format "{name}_{number}".
On FF 2 and IE 6, my onChange and onUpdate methods are fired. However
only on IE7 (7.0.5730.13 to be exact), after I move the list item and
mouse up the drop never seems to finish, the list items reverts. No
events: onChange or onUpdate are ever fired.
Has
2006 Jun 15
2
Drag and Drop Sortable Tree
I''ve gone through Chad Fowler''s recipe for creating a drag and drop sortable
list, and have been trying to extend this to a sortable tree. Has anyone
come up with or seen code which allows drag and drop sorting (altering the
position and parent_id variables of the relevant objects) but for data in a
nested tree rather than a list form?
- Justin
2006 Feb 25
1
Re: Strange behaviour with sortable
Hi,
I''m having strange problem with Sortable.
I''m trying to do something like google homepage, netvibes and others with 3
sortable lists, just to prouve someone it''s really easy with scriptaculous.
But maybe it''s not so easy :)
I''ve attached what I did, the code looks good to me but when I drag the
upper left widget to another column, the widget under
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
2006 Apr 11
1
IE Sortable Style Problem
Hi Guys,
I am having a problem in IE (tested versions 6 and 7 beta) with sortable divs in a container div with overflow set to scroll. It looks like all of the divs have their position set to relative after the sortable initializes, and also after being dragged. When a div (any element?) has a relative position in a containing div with overflow set to scroll, all of the divs with relative
2006 May 24
1
Sortable: Ajax not firing?
Using Rails to generate a sortable list, I get the draggable/sortable page
elements, but Ajax never fires back the post-sorted list. (I''ve checked with
IE & Firefox, the "save this order to the DB" controller hasn''t been
called.)
The View:
<p>Drag to sort.<span id="sort_info"></span></p>
<ul id="sort1">
2006 Mar 30
4
possible scriptaculous bug
I have two sortable lists, one after the other. I can drag from the first
to the second but not from the second to the first. The behavior is
consistent if n > 2. For example, I can drag from 1 to 2, 3 or 4 from 2 to
3 or 4 and from 3 to 4, but not in the reverse order: I can''t drag from the
4th list to anything (besides itself). From the third list I can drag only
to itself and 4.
2005 Aug 02
3
Scriptaculous: Sortable (dragdrop.js) onUpdate
Hi all,
In the following code, it doesn''t look like the onUpdate() event is firing.
Am I doing something wrong?
<ul id="testSort">
<li id="item1">item 1</li>
<li id="item2">item 2</li>
<li id="item3">item 3</li>
<li id="item4">item 4</li>
<li id="item5">item
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
2005 Sep 29
0
scriptaculous: Filed Bug #2339: XHTML comments can cause Firefox to throw an error on Sortable.create()
The Wiki page "TheWishList" indicates that bugs should be reported
into Trac and to this list.
The bug report is here:
http://dev.rubyonrails.org/ticket/2339
Description:
If there is an XHTML comment in a document at the same level as the
elements that are being activated by the Sortable, Firefox 1.0.6 will
throw this error:
Error: item.id has no properties
Source File:
2005 Aug 03
0
Scriptaculous: Sortable child index
Hi all,
I have an unordered-list, made Sortable using dragdrop.js. When the
onUpdate() event fires, is there a way to get the (new) index of the child
list-item that was just moved? Or would I have to compare the results of
serialize() before and after the move?
Thanks,
Best Regards,
Ed C.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Nov 18
0
Passing "accept" option through a Sortable
Hi All,
I''m attempting to tweak Scriptaculous 1.5R4 to provide the ability to
pass the "accept" option through the Sortable.create(...) call to the
enclosed Droppable(s). I''m far from a JavaScript expert
(Scriptaculous & AJAX have convinced me to finally start learning),
so I''m kinda fumbling in the dark here.
Thus far I''ve made two
2005 Dec 22
0
Clone Sortable item
Hi everyone!
Firt excuse me for my crappy english, I hope you understand me! :)
Since I just signed up on this list i don''t have a clue how the word is on
this list.
As i understand this is THE mailinglist for Scriptaculous, correct?
My question / request is:
I have two sortable lists, one is an "archive" and one is a "imagelist"
where the user can sort the
2006 Jun 14
3
sortables and onClick events firing
I have a page that I have been tasked with adding sortable support to, and
the div elements that are being dragged have a <a href> in them with an
onClick handler that opens a new window with a preview. Is there a way to
keep that onCLick from firing when a sortable is dropped?
Sam D
_______________________________________________
Rails-spinoffs mailing list
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
2005 Oct 18
0
RE: Error: "onclick() is not a function"
I see what he is saying now. When you assign a click event with the
Event.observe it does not allow you to call it with the
$(''xxx'').onclick(); command as it''s looking for the onclick tag in the a
tag.
I''m stumped on a way to get this to work.
Jon Whitcraft
Web Application Developer
Online Services - Indianapolis Motor Speedway
(317) 492-8623
2006 Mar 28
1
Simple question about sortables...
Hi, I''m new to the prototype and scriptaculous (v1.5.1) libraries.
I''m creating a sortable list using the code below, and I''m finding that
while a list element is being dragged in IE, the element text is
transformed to appear bolder than the original. In Firefox, the text
becomes opaque.
Is there anyway to stop this from happening, ie don''t change any
2006 Jul 20
1
Scriptaculous + Sortable: onUpdate Not Firing
Hello all,
I''m using Scriptaculous 1.6.1 on a project I''m developing. My
generated HTML (generated by PHP) looks something like this:
<ul id="admin-list">
<li id="li-13">Singletary, Bob (President/CEO)</li>
<li id="li-12">Chatman, Jim (Vice President of Finance/CFO)</li>
...
</ul>
<script