yah - <thead>, <tbody> and <tfoot> still need <tr>'s



jpf wrote:
> 
> 
> Hmmm...
> 
> Have a look at your headers. Perhaps you'll need to clarify the structure
> a bit more with <tr>'s. Mine works in the following format:
> 
> <table>
>  <thead>
>   <tr>
>    <th></th>
>    <th></th>
>    <th></th>
>   </tr>
>  </thead>
>  <tbody>
>   <tr>
>    <td></td>
>    <td></td>
>    <td></td>
>   </tr>
>  </tbody>
> </table>
> 
> --- Andy Matthews <[EMAIL PROTECTED]> wrote:
> 
>> 
>> Tried adding tbody to what's there right now and it didn't work. 
>> 
>> -----Original Message-----
>> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>> Behalf Of Jonathan Freeman
>> Sent: Friday, June 15, 2007 8:47 AM
>> To: jquery-en@googlegroups.com
>> Subject: [jQuery] Re: Tablesorter woes
>> 
>> <tbody> ?
>> 
>> 
>> 
>> --- Andy Matthews <[EMAIL PROTECTED]> wrote:
>> 
>> > I've used tableSorter successfully in another project but for some 
>> > reason it's defeating me in this one. I've got some code to display, 
>> > but I can't put a working version up as it's for an admin section. 
>> > Here's the portions of the code that I think are relevant...please let
>> 
>> > me know if I need to add additional snippets. Also note that I HAVE 
>> > gotten this to work, but for some reason it's intermittent at best. 
>> > The paths to the jQuery and tableSorter JS files have been tested and 
>> > are correct.
>> >  
>> > I'd love for someone to point out a simple error, but I can't see what
>> 
>> > one might be. Thanks in advance.
>> >  
>> >  
>> > andy
>> >  
>> > ----------------------------------
>> >  
>> > HEAD
>> > <link rel="stylesheet"
>> > href="http://testlogin.dealerskins.loc/Styles/dealerskinsbackend.css";
>> > title="Site Specific Stylesheet" />
>> > <script type="text/javascript"
>> > src="http://testlogin.dealerskins.loc/Includes/jquery.js";
>> > language="javascript"></script>
>> > <script type="text/javascript"
>> > src="http://testlogin.dealerskins.loc/Includes/swfobject.js";
>> > language="javascript"></script>
>> > <script type='text/javascript'
>> >
>>
> src="http://testlogin.dealerskins.loc/Includes/scripts/AC_RunActiveContent.j
>> > s"></script>
>> > <script type="text/javascript"
>> > src="http://testlogin.dealerskins.loc/includes/scripts/tablesorter.js";
>> > <http://testlogin.dealerskins.loc/includes/scripts/tablesorter.js>
>> > ></script>
>> > <script language="javascript">
>> > <!--
>> >  $(document).ready( function() {
>> >   $('#stockNumTable').tableSorter();
>> >  });
>> > //-->
>> > </script>
>> > 
>> >  
>> > BODY
>> > ------- start table ------------------ <table align="center" 
>> > width="550" cellpadding="0" cellspacing="0"
>> > id="stockNumTable">
>> > <thead>
>> >  <th class="basicbold" title="Sort by this column">Stocknumber</th>  
>> > <th class="basicbold" title="Sort by this column">ModelYear</th>  <th 
>> > class="basicbold" title="Sort by this column">Make</th>  <th 
>> > class="basicbold" title="Sort by this column">Model</th>  <th 
>> > class="basicbold" title="Sort by this column">Number of Views</th> 
>> > </thead> <tr bgcolor="#F5F5F5">
>> >   <td class="basic">#012456</td>
>> >   <td class="basic" width="80" align="right" style="padding-right:
>> > 7px;">2008</td>
>> >   <td class="basic" width="50"> Bentley</td>
>> >   <td class="basic" width="50"> Continental</td>
>> >   <td class="basic" align="center">
>> >    2</td>
>> >  </tr>
>> >  <tr bgcolor="#eaeaea">
>> >   <td class="basic">#012456</td>
>> >   <td class="basic" width="80" align="right" style="padding-right:
>> > 7px;">2001</td>
>> >   <td class="basic" width="50"> Chevy</td>
>> >   <td class="basic" width="50"> Coupe</td>
>> >   <td class="basic" align="center">
>> >    2</td>
>> >  </tr>
>> >  <tr bgcolor="#F5F5F5">
>> >   <td class="basic">#7516298</td>
>> >   <td class="basic" width="80" align="right" style="padding-right:
>> > 7px;">2005</td>
>> >   <td class="basic" width="50"> Honda</td>
>> >   <td class="basic" width="50"> Accord</td>
>> >   <td class="basic" align="center">
>> >    2</td>
>> >  </tr>
>> >  <tr bgcolor="#eaeaea">
>> >   <td class="basic">#7516298</td>
>> >   <td class="basic" width="80" align="right" style="padding-right:
>> > 7px;">1994</td>
>> >   <td class="basic" width="50"> Jeep</td>
>> >   <td class="basic" width="50"> Cherokee</td>
>> >   <td class="basic" align="center">
>> >    2</td>
>> >  </tr>
>> >  <tr bgcolor="#F5F5F5">
>> >   <td class="basic">#7516298</td>
>> >   <td class="basic" width="80" align="right" style="padding-right:
>> > 7px;">2005</td>
>> >   <td class="basic" width="50"> Scion</td>
>> >   <td class="basic" width="50"> tK</td>
>> >   <td class="basic" align="center">
>> >    2</td>
>> >  </tr>
>> >  <tr bgcolor="#eaeaea">
>> >   <td class="basic">#012456</td>
>> >   <td class="basic" width="80" align="right" style="padding-right:
>> > 7px;">2008</td>
>> >   <td class="basic" width="50"> Toyota</td>
>> >   <td class="basic" width="50"> Avalon</td>
>> >   <td class="basic" align="center">
>> >    2</td>
>> >  </tr>
>> >  <tr bgcolor="#F5F5F5">
>> >   <td class="basic">#789456</td>
>> >   <td class="basic" width="80" align="right" style="padding-right:
>> > 7px;">2006</td>
>> >   <td class="basic" width="50"> Chevy</td>
>> >   <td class="basic" width="50"> Blazer</td>
>> >   <td class="basic" align="center">
>> >    1</td>
>> >  </tr>
>> >  <tr bgcolor="#eaeaea">
>> >   <td class="basic">#a478315z</td>
>> >   <td class="basic" width="80" align="right" style="padding-right:
>> > 7px;">2008</td>
>> >   <td class="basic" width="50"> Ford</td>
>> >   <td class="basic" width="50"> Focus</td>
>> >   <td class="basic" align="center">
>> >    1</td>
>> >  </tr>
>> >  <tr bgcolor="#F5F5F5">
>> >   <td class="basic">#123456</td>
>> >   <td class="basic" width="80" align="right" style="padding-right:
>> > 7px;">2007</td>
>> >   <td class="basic" width="50"> Ford</td>
>> >   <td class="basic" width="50"> Mustang</td>
>> >   <td class="basic" align="center">
>> >    1</td>
>> >  </tr>
>> > </table>
>> > ------------ end table --------------
>> >  
>> >  
>> > ____________________________________
>> >  
>> > Andy Matthews
>> > Senior ColdFusion Developer
>> > 
>> > Office:  877.707.5467 x747
>> > Direct:  615.627.9747
>> > Fax:  615.467.6249
>> > [EMAIL PROTECTED]
>> > www.dealerskins.com <http://www.dealerskins.com/>
>> >  
>> > 
>> 
>> 
>> 
>>        
>>
> ____________________________________________________________________________
>> ________
>> Get the Yahoo! toolbar and be alerted to new email wherever you're
>> surfing.
>> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
>> 
>> 
>> 
> 
> 
> 
>        
> ____________________________________________________________________________________
> Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated
> for today's economy) at Yahoo! Games.
> http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tablesorter-woes-tf3927993s15494.html#a11142530
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to