> -----Original Message----- > From: David [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 30, 2008 12:49 PM > To: CF-Talk > Subject: (ot) JS Saving dragged DIVs > > Hi, > > We've been looking into updating a simple templating engine for a > customer. They want to expand on their fixed templates for mailing, > and allow users to add more blocks and rearrange within the layout > areas. > > I've seen some ways to move blocks with JS libraries. > Are there any existing packages for handling the reordering / > managing+saving the layouts on the server side? (that can be modified > to get us the rest of the way)
I'm sure some of the bigger libraries have much more complete systems for it, but if you're looking for something more componentized I pimp my PanelManager component: http://www.depressedpress.com/Content/Development/JavaScript/Extensions/DP_P anelManager/Index.cfm This abstracts most common (and some no-so-common) DHTML tasks into simple, cross-browser methods. The component abstracts basic properties (size, position, opacity, visibility, order) all changeable with animation, collision detection, cross-browser events. The manager can also provide lists of its members ordered by any property. There are examples provided that demonstrate drag-and-drop (not completely abstracted by the component, but easier because of it), animation, ordering, etc. Look at the "Drag-and-Drop with Ordering" example - I think that might be similar to what you're looking for. Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309994 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

