Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
06-01-2006, 11:38 PM #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, 10:15 AM #2
- Join Date
- Mar 2005
- Portsmouth UK
- Thanked 501 Times in 488 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)