 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
GPMKE
Joined: 15 Oct 2007 Posts: 1
|
Posted: Mon Oct 15, 2007 3:57 pm Sorting columns in Dreamweaver MX2004 |
|
|
|
I am attempting to build a website usingt Dreamweaver MX 2004. For some reason when you import a table from Excel, it becomes jumbled when displayed.
Having said that, I built a table using Dreamweaver. I have all the data in place. The table is a league standings table.
What I want to be able to do is have the table sort what place to put a given team in based on their points. For example. I built the table using the current standings. In one division, there are five teams. They are listed based on their total points. 1st place has 7, there is a tie for 2nd with 6, and a tie for 3rd with 4. If the 1st place team does not play, but the second place team plays and wins, they earn two points and thus would leapfrog into 1st place.
My question is, can I get the table to sort based on those points without retyping all the data for every team after every game? If I just plug in the new numbers, can I get the table to sort who is in 1st place, et al? |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8748 Location: Castle Pines North, CO USA
|
Posted: Tue Oct 16, 2007 10:09 am |
|
|
|
|
You are really trying to do two different things. Keep in mind that HTML is not a server side language and it cannot sort anything (you need to use ASP, PHP, or .NET for that).
When you copy Excel into a WYSIWYG editor, it will normally create more tables / cells. Try to copy the Excel sheet into a blank document in Dreamweaver and look at the source code. Now you can take that source code and copy it into your other <td>.
_________________
Corey
Toll Free Fax Numbers | Merchant Accounts | Microsoft Expressions |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|