sajax demo page


/** * class for the sortable list ajax - updated!!! * * @author Peter Rehm < code [at] peter-rehm [dot] de > - http://peter-rehm.de * * A special thanks goes here to Tom Westcott, cyberdummy.co.uk * I needed the code to implement the very nice drag and drop feature into * 'dycos' my new cms which is currently in development. * * if you have suggestions, or fixes, dont hesitate to contact me. * if you change this code, please make it public and give me a note. * * documentation * * - create an class based on the sajax class which has the properties and methods you need for your environment * - instantiate an the sajax class with the wanted listelements ($sajax=new MySajax('menu1,menu2,menu3');) * - make sure that an database connection is established and the update functions is setted properly. * by default it is using an already open mysql connection with the information from the db array * - now you can easily create the output as you want to have it, with the db handler you like * * news * * >> i decided not to automize the output due the many possibilites in displaying the lists * * >> with using the customized class you are fully flexible. i did this to give the possibility to * customize it without changing the main class * * >> while initiating the class you can now give the lists you want to have * * todo * * >> nothing known yet... im happy with it right now.. * * download * * >> get it now */