HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Sorting columns in Dreamweaver MX2004
Post new topic   Reply to topic    HTML Help Forum -> HTML Table
View previous topic :: View next topic  
Author Message
GPMKE



Joined: 15 Oct 2007
Posts: 1

PostPosted: Mon Oct 15, 2007 3:57 pm     Sorting columns in Dreamweaver MX2004 Reply with quote

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

PostPosted: Tue Oct 16, 2007 10:09 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial