View Full Version : Help with JS code for an animation

06-01-2006, 11:38 PM

I need help with javascript code,

I have a information on a page, where the user selects a few things from drop down menu's,which is linked to a database, and then the things the user has selected must appear on the second page, which is fine, i've done that,


I also need to create a code that will change the information displayed on the second page

I need to create a script that causes the values to change position from their original sequence in the form to alphabetical order ten seconds after the page has loaded

I just don't know where to start or what to do, I have done other animation before on a page, where the text will appear after 5 seconds etc.

but nothing to this extent

can anyone help me please?


06-02-2006, 10:15 AM
this does not sound too much of a problem

1) collect the elements in an array

2) remove from parent node

3) sort the array

4) replace in parent

but will need an example of original items(elements)