Width=20%
Line 2.
Line 3.
Line 4.
Line 5.
Line 6.
Line 7.
Line 8.
Line 9.
10.
Width = 60%. Page 3.
JavaScript:sort( ); The Sort Function is pre-written in JavaScript. Application decision is whether to Sort by Ascending Order or Descending Order of a-b or b-a. View comments in source code. Also sorts Alphabetical.
Establish the IDdentity of the elements to be addressed - manipulated.
Determine the size ( height ) of established elements and place into an Array.
Sort the items in the Array.
Write new values for the established elements, which equals choice, in this case the largest, which was placed - rewritten into the first placeholder of the Array [0] by the Sort Function b-a.
Nice tutorial on Array sort( ) at www.nombas.com.