[Proto-Scripty] Sortable with addtional droppable

2012-06-14 Thread JJD
Yes, I'm still using prototype :) I have a list of thumbnails in a container, and a Sortable created for the container so I can reorder them. I also want to add a separate droppable outside the container div to accept imgs I want to trash. I can't figure out how to get the thumb to drop onto

[Proto-Scripty] Sortable Dragging Items in a list

2011-12-01 Thread marathon
I have a list that I have added a sortable on when I drag a item to the end of the list the positon or offset in the list moves back up the list so I can never drag an item to the last item in the list. If I have ghosting on as I drag the item to the bottom of the list the ghosted image moves up

[Proto-Scripty] Sortable list bug.

2011-07-25 Thread Andrew Senner
I have a script that creates sortable lists on the fly embedded in a cakephp helper. I'm running across an issue when creating a second sortable list. Everything works perfectly on the first call to 'Sortable.create()', and everything works perfectly on the second call as well.. except: When

Re: [Proto-Scripty] Sortable list bug.

2011-07-25 Thread Walter Lee Davis
On Jul 25, 2011, at 12:10 PM, Andrew Senner wrote: I have a script that creates sortable lists on the fly embedded in a cakephp helper. I'm running across an issue when creating a second sortable list. Everything works perfectly on the first call to 'Sortable.create()', and everything works

Re: [Proto-Scripty] Sortable with 1,000 elements?

2011-07-04 Thread Richard Quadling
On 30 June 2011 17:33, Walter Lee Davis wa...@wdstudio.com wrote: On Jun 30, 2011, at 12:08 PM, Richard Quadling wrote: I use http://www.kryogenix.org/code/browser/sorttable/ -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

[Proto-Scripty] Sortable with 1,000 elements?

2011-06-30 Thread Walter Lee Davis
I have been chasing my tail on a slow script error, and just now discovered that if I disable my call to make a 1,000 element list sortable the problem goes entirely away. First, is there any sort of tool I can use to determine where this function is spending all of its time? Second, is

Re: [Proto-Scripty] Sortable with 1,000 elements?

2011-06-30 Thread Phil Petree
Walter, I had the timeout problem on a script with a different purpose. What I did was hijacked the code here: http://www.mcfedries.com/JavaScript/timer.asp I created an array: var funcTimers[] and then modified the above code to insert into the array and each func started the timer on entry

Re: [Proto-Scripty] Sortable with 1,000 elements?

2011-06-30 Thread Walter Lee Davis
Thanks very much for the offer. I seem to have fixed it here, but the problem wasn't specifically in Sortable. What I ended up doing was staggering some of the Ajax loading events that were also happening while that function fired using setTimeout and that got around the problem.

Re: [Proto-Scripty] Sortable with 1,000 elements?

2011-06-30 Thread Richard Quadling
On 30 June 2011 15:41, Walter Lee Davis wa...@wdstudio.com wrote: Thanks very much for the offer. I seem to have fixed it here, but the problem wasn't specifically in Sortable. What I ended up doing was staggering some of the Ajax loading events that were also happening while that function

Re: [Proto-Scripty] Sortable with 1,000 elements?

2011-06-30 Thread Phil Petree
Ah yes.. the stacked ajax calls... kill ya every time! Glad you got it working! On Thu, Jun 30, 2011 at 10:41 AM, Walter Lee Davis wa...@wdstudio.comwrote: Thanks very much for the offer. I seem to have fixed it here, but the problem wasn't specifically in Sortable. What I ended up doing was

Re: [Proto-Scripty] Sortable with 1,000 elements?

2011-06-30 Thread Walter Lee Davis
On Jun 30, 2011, at 12:08 PM, Richard Quadling wrote: I use http://www.kryogenix.org/code/browser/sorttable/ -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea Thanks, that's completely a different thing from what I'm

[Proto-Scripty] Sortable : dropOnEmpty and only options problem

2010-06-24 Thread Sylvain
Hi all, i'll try to be as clear as possible... i'm creating a kind of schedule application, with all days of the week divided into half days (AM and PM). Users will be able to drag and drop activities (from a list of activities) to the schedule. Some activities take half a day, others take a

[Proto-Scripty] Sortable issue in IE

2010-04-21 Thread Scott
I have a page with thumbnail images that need to be sortable. In all browsers but IE this works great. In IE when i drag an item, the items do not shift to allow dropping. If I remove float:left; from the css it works but then my divs are not inline. (if i set display:inline; my divs will not

[Proto-Scripty] Sortable: can I reject a drag?

2010-01-27 Thread boson...@gmail.com
so this is my situation: I am making an online link/file directory application where library items are in library folders. I can have nested folders so basically I'm working with a tree. ie: folder -item -folder --item -item etc... Using Sortable.create I managed to make everything sortable

Re: [Proto-Scripty] Sortable: can I reject a drag?

2010-01-27 Thread Alex McAuley
@googlegroups.com Sent: Wednesday, January 27, 2010 4:11 PM Subject: [Proto-Scripty] Sortable: can I reject a drag? so this is my situation: I am making an online link/file directory application where library items are in library folders. I can have nested folders so basically I'm working with a tree

[Proto-Scripty] sortable

2009-12-19 Thread wonderpix
Hi Maybe this is a simple task, or maybe it is an impossible one, I dont know. But here it goes: Assume you have div id=containerDiv div id=div_1img src=arrow.gif a href=page.htmlpage/a/ div div id=div_1img src=arrow.gif a href=page.htmlpage/a/ div div id=div_1img src=arrow.gif a

Re: [Proto-Scripty] sortable

2009-12-19 Thread Alex McAuley
}); // untested but i dont see why not Alex Mcauley http://www.thevacancymarket.com - Original Message - From: wonderpix wonder...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Saturday, December 19, 2009 1:17 AM Subject: [Proto-Scripty] sortable Hi

Re: [Proto-Scripty] sortable

2009-12-19 Thread Walter Lee Davis
Exactly right, except you don't need to put the dot in front of the classname. handle:'drag-me' Walter On Dec 19, 2009, at 8:08 AM, Alex McAuley wrote: in draggable there is a parameter handle witch if i recall correctly takes a classname... SO add a classname to each image of the

[Proto-Scripty] sortable nonsense...

2009-10-10 Thread patrick
Hi everyone, I hope there is a solution to this problem. I don't quite get why it is happening in the first place. http://collinatorstudios.com/tree_test.html If you go to the 2nd row (the scrollable div) and scroll far to the right, and then attempt to swap the positions of two boxes, when

[Proto-Scripty] Sortable onUpdate firing at the wrong time

2009-08-16 Thread Mojito
Why is the onUpdate callback fired right when the Sortable is created and not when I move an li? This code also screws up my dropping - I am forced to click again to drop. Additionally, after dragging an li, it remains translucent even after dropping it. Sortable.create( 'lineup', {

[Proto-Scripty] Sortable lists don't drag smoothly with newer versions of scriptaculous

2009-07-08 Thread emz452
Hi there, I have a sortable UL list using scriptaculous, nothing fancy or unusual. When I use an older version of the dragdrop.js file (e.g. v1.5), it works as expected. The dragging of list elements to sort them, is smooth. When I use the latest version and try to drag a list element, it's

[Proto-Scripty] Sortable is undefined

2009-07-07 Thread kevin
Hi. I just downloaded 1.8.2 and was attempting to use Sortable. I think I have it right, but I get the error Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/ 4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30; .NET CLR

[Proto-Scripty] Sortable onUpdate vars

2009-05-07 Thread HostRail
How can I get the element id of a Sortable after I drop in a LI from another Sortable? I got the dragging element id with onUpdate:function(list){ alert(list.down().id); } but how can I get the ID of where it is dropped Any help on this would be awesome

[Proto-Scripty] Sortable lists

2009-04-26 Thread WLQ
So I've got a sortable list. Now what I want to do is to have ability to drop items on it. Like: being able to drop other items from other lists. Here's to create a sortable list: Sortable.create(tasksList, {tag:li}); So how can I drop other elements into it? Thanks, Yan

[Proto-Scripty] Sortable is undefined

2009-03-16 Thread sujikin
Hi, For the below script, I am getting the error Sortable is undefined, html HEAD titleABCD/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / script language=javascript src=scripts/prototype.js type=text/ javascript /script script language=javascript

[Proto-Scripty] Sortable Lists: Can only move one row?

2009-03-13 Thread Programme
Hey Here is a very nice tutorial on Sortable Lists: http://zenofshen.com/posts/ajax-sortable-lists-tutorial However; when trying this myself I always end up with a list that works half way. The list loads and I can move an item, but that is it. I can not move any other items unless I reload the

[Proto-Scripty] sortable tree in rails

2009-02-06 Thread chienr
Hi, I'm a new member to this group, and would appreciate some help with using Sortable in Rails. How do I generate a sortable tree like this with RoR? http://script.aculo.us/playground/test/functional/sortable_tree_test.html Specifically, the ability to drag a section and its children to

[Proto-Scripty] Sortable and lists of labels/checkboxes

2009-01-15 Thread Cyrus
Hi, I decided to open a new thread (this is the old one: http://groups.google.com/group/prototype-scriptaculous/t/303d050dd9c07329), because it is a general question how to use the Sortable of script.aculo.us correctly. Simple HTML-Code: ul id=list li id=item1labelinput type=checkbox /

[Proto-Scripty] Sortable tree

2009-01-04 Thread Niko
Ok, I am really not the biggest JS guru on the planet. Consider me a newbie on SU and javascript. So, alright, here is the big plan: I have my small to do list and I want to be able to drag around items in the list. tasks can have subtasks and that should be the end of the line. no sub sub

[Proto-Scripty] Sortable list - dynamic numbering?

2008-12-17 Thread Matt Andrews
Hi everyone, I've made a fairly basic Sortable - it's two lists and you can drag elements from one list to the (initially blank) second. My issue is that I want the second list to auto number itself as you add to it, eg, if you drag an element to the top of it, it's prefixed with a #1, or if

[Proto-Scripty] Sortable container that copies (dragdrop clone/copy) instead of moves?

2008-11-20 Thread Ken
I'm using Sortable.create on a few containers w/ div elements and rather than moving a div from container1 to container2, I want to copy and insert into container2. Has anyone found an example of this? The only bit I dug up is this: http://markmail.org/message/2tuf3k3sw6gl3z2x which would work

[Proto-Scripty] Sortable scrollSensitivity

2008-10-15 Thread Sixer
Hi all, The argument of Sortable.create() : scrollSensitivity, will start scrolling when element is x pixels from the bottom, where x is the scrollSensitivity. But i want a feature that i can control the scrollSensitivity when element is x pixels from the bottom and y pixels from the