Here is the new code, which doesn't seem to do any updating...: <div id="imageFloatContainer"> <? PHP CODE TO GRAB PHOTOS WITH THE ID BEING in the form of id="image_1" CREATING THIS LIST: <img src="http://fashdax.com/gallery/I/2005/01/01/thumb/3.jpg" id="image_3"> <img src="http://fashdax.com/gallery/I/2005/01/01/thumb/4.jpg" id="image_4"> <img src="http://fashdax.com/gallery/I/2005/01/01/thumb/5.jpg" id="image_5"> ?> </div> <script type="text/javascript"> function updateOrder(){ var options = { method : 'post', parameters : Sortable.serialize('imageFloatContainer') }; new Ajax.Request('http://www.fashdax.com/gallery_update.php', options); } Sortable.create('imageFloatContainer', {tag:'img',overlap:'horizontal',constraint: false, onUpdate : updateOrder}); </script>
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
