RE: Re-ordering items in a list
I've used this script, combining the first example shown and the third example shown: http://www.mattkruse.com/javascript/selectbox/ -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 9:28 AM To: CF-Talk Subject: Re-ordering items in a list I have a need for users to re-order 10-20 items in a list, easily. Normally I would do this in one of three ways: 1. List the items in order on a normal html page, and add "move up"/"move down" links 2. List all the items in the left column of a two column format, and make the items clickable.. when they are clicked, they're added to the right column. Again, a plain html page with some coldfusion on the back-end. 3. List the items and include textboxes for the user to enter the priority numbers.. 3, 5, 1, 2, 4 .. etc.. Personally, I usually prefer #1... #2 requires you to add them in order to the right column, and I generally find sites that use the third method to be a pain. What I'd like to do is use a flash RIA with a component on the back-end that allows me to drag-n-drop within a single list box. But I haven't done anything like this before, and wondered if anyone had some suggestions or examples. I think I'll post this to flashcoders too =) Thanks. Rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206476 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Re-ordering items in a list
Do the items consist only of displayed text, no hidden IDs or other attributes? Is the text editable? If yes to both, another alternative is to put them all on separate lines of a textarea. Users already know how to edit this with cut/paste/drag/drop, there aren't any btns to enable/disable, clean and simple. Dave Merrill > I have a need for users to re-order 10-20 items in a list, easily. > > Normally I would do this in one of three ways: > > 1. List the items in order on a normal html page, and add "move > up"/"move down" links > > 2. List all the items in the left column of a two column format, and > make the items clickable.. when they are clicked, they're added to the > right column. Again, a plain html page with some coldfusion on the > back-end. > > 3. List the items and include textboxes for the user to enter the > priority numbers.. 3, 5, 1, 2, 4 .. etc.. > > Personally, I usually prefer #1... #2 requires you to add them in order > to the right column, and I generally find sites that use the third > method to be a pain. > > What I'd like to do is use a flash RIA with a component on the back-end > that allows me to drag-n-drop within a single list box. But I haven't > done anything like this before, and wondered if anyone had some > suggestions or examples. > > I think I'll post this to flashcoders too =) > > Thanks. > > Rick > > > ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206477 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54