Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Sort table option in Dreamweaver8
Old 03-24-2006, 04:22 AM Sort table option in Dreamweaver8
Average Talker

Posts: 24
Trades: 0
I want to create a league table, in that table i have 3 colums and 8 rows.
1st colum stands for position- want that colum to stay as it is no mather what.
2nd colum stands for team name.
3rd colum stands for points - like any league table who ever has more points should be in the top,2nd place,3rd, etc...

Some of the rows has diffrent row color, I want every row to have to same color after the sort, for exmple if row 1 = blue, row 2 =red, even if team names change in those rows I want the color to stay the same.

I checked the box - "keep all row colors the same after the sort has been completeed", tho it doesn't seem to change anything, since the color do change.

Anyone who's firmiler with that can help me?
AirParker is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-24-2006, 05:25 AM Re: Sort table option in Dreamweaver8
Super Spam Talker

Latest Blog Post:
PSD Squirrel Launched
Posts: 932
Trades: 7
I recon we can work this out together...

I assume you are using the Behaviours in dreamweaver, can you post your current code that should work but doesnt entirely?

Thanks
Sir P
Sir P is offline
Reply With Quote
View Public Profile Visit Sir P's homepage!
 
Old 03-24-2006, 05:19 PM Re: Sort table option in Dreamweaver8
Average Talker

Posts: 24
Trades: 0
Quote:
Originally Posted by Sir P
I recon we can work this out together...

I assume you are using the Behaviours in dreamweaver, can you post your current code that should work but doesnt entirely?

Thanks
Sir P
I'm using the sort table option in the Commands toolbar.

Thats the code:

Code:
<table width="350" border="1">
  <tr>
    <th width="12%" scope="col">#</th>
    <th width="72%" scope="col">Team</th>
    <th width="16%" scope="col">Pts</th>
  </tr>
  <tr>
    <th scope="row"><span class="style1">#1</span></th>
    <td><span class="style1">Team A </span></td>
    <td><span class="style1">5</span></td>
  </tr>
  <tr>
    <th scope="row"><span class="style3">#2</span></th>
    <td><span class="style3">Team B </span></td>
    <td><span class="style3">3</span></td>
  </tr>
  <tr>
    <th scope="row">#3</th>
    <td>Team C </td>
    <td>6</td>
  </tr>
  <tr>
    <th scope="row">#4</th>
    <td>Team D </td>
    <td>7</td>
  </tr>
  <tr>
    <th scope="row">#5</th>
    <td>Team E </td>
    <td>8</td>
  </tr>
  <tr>
    <th scope="row">#6</th>
    <td>Team F </td>
    <td>1</td>
  </tr>
  <tr>
    <th scope="row"><span class="style2">#7</span></th>
    <td><span class="style2">Team G </span></td>
    <td><span class="style2">2</span></td>
  </tr>
  <tr>
    <th scope="row"><span class="style2">#8</span></th>
    <td><span class="style2">Team H </span></td>
    <td><span class="style2">6</span></td>
  </tr>
</table>
AirParker is offline
Reply With Quote
View Public Profile
 
Old 03-24-2006, 05:25 PM Re: Sort table option in Dreamweaver8
Average Talker

Posts: 24
Trades: 0
Well, found a solution to the color, when using CSS to determine the row font color it doesn't change after the sort.

Still dunno how to lock the first colum so it won't change after the sort..
AirParker is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Sort table option in Dreamweaver8
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.14053 seconds with 12 queries