Re: Reordering lists with drag n' drop

2006-06-19 Thread Dan Shafer
In one of the products I built, I use dragShield, which Jan Schenkel wrote some time ago. It doesn't appear to be in RevOnline any longer but an email to [EMAIL PROTECTED] might uncover it once he returns to Belgium from Monterey. I found it easy to implement and it's 100% reliable. --

Re: Reordering lists with drag n' drop

2006-06-19 Thread Jim Ault
On 6/19/06 10:23 AM, Dan Shafer [EMAIL PROTECTED] wrote: In one of the products I built, I use dragShield, which Jan Schenkel wrote some time ago. It doesn't appear to be in RevOnline any longer but an email to [EMAIL PROTECTED] might uncover it once he returns to Belgium from Monterey. I

Re: Reordering lists with drag n' drop

2006-06-19 Thread Josh Mellicker
Here is a script I wrote for drag and drop buttons. I wrote it a few months ago when I was just starting out, so there may be some bad coding conventions! It creates a group of buttons from a data field, and colors them gradually from green to blue (!) Then, the user can drag them

Re: Reordering lists with drag n' drop

2006-06-16 Thread Geoff Canyon
You could look at the code in Navigator, which does this. An older version is in your plugins folder; it implements drag and drop with a line showing where the drag will end up. The latest version implements drag and drop in a different way, making the change immediate as you drag. You can

Reordering lists with drag n' drop

2006-06-15 Thread Jared Smith
I'm wondering what the easiest way is to implement this feature. I have a normal list field with items that I'd like to be able to click and drag up or down. I'm contemplating using mouseDown to grab them and, upon mouseUp, measure which line it is closest to and move it. I'd also need to come

Re: Reordering lists with drag n' drop

2006-06-15 Thread Scott Rossi
Recently, Jared Smith wrote: I'm wondering what the easiest way is to implement this feature. I have a normal list field with items that I'd like to be able to click and drag up or down. ... I wish this functionality was included, but anyway if anyone can think of a real easy way to do it,

Re: Reordering lists with drag n' drop

2006-06-15 Thread Jared Smith
Wow! The script looks complicated but it's exactly the functionality I wanted (but didn't think I could get). Thank you! On 6/16/06, Scott Rossi [EMAIL PROTECTED] wrote: Recently, Jared Smith wrote: I'm wondering what the easiest way is to implement this feature. I have a normal list field