Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
06-02-2006, 12:38 AM #1
- Join Date
- Jun 2006
- Thanked 0 Times in 0 Posts
Help with JS code for an animation
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, 11:15 AM #2
- Join Date
- Mar 2005
- Portsmouth UK
- Thanked 513 Times in 500 Posts
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)