Help an AJAX newbie!
November 6, 2006 9:22 PM
Subscribe
AJAX help for a newbie. How do I rearrange the order of a set of images?
I have a site that allows users to create slideshows of images. This slideshow is ordered. How can I create an AJAX interface for rearranging the order of images in this slideshow?
The images are currently displayed in a table, from the first element to the last. I would like for a user to drag and drop an image from its current cell into its desired cell, which would then update its position in the slideshow and shift the placement of all following images up 1.
I am very familiar with programming, but know little about using Javascript in this way. Is there any mefites who can help me, or point me to a tutorial, for doing some AJAX programming like this?
posted by LoopyG to computers & internet (10 comments total)
3 users marked this as a favorite
A drag and drop function within a table is more adequately described as DHTML as it does not require calling functions and simply manipulating the elements in the browser. Check out rico or script.aculo.us as both javascript libraries contain drag and drop functions that are relatively easy to implement.
posted by purephase at 9:34 PM on November 6, 2006