[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread GaVrA

I think you didnt make selector valid. You need to use them just like
you use in css. For instance, you have this:

$(1).tablesorter( {sortList: [[0,0], [1,0]]} );

it should be this:

$(#1).tablesorter( {sortList: [[0,0], [1,0]]} );

On May 27, 7:26 pm, bayadmin admin.baynet...@gmail.com wrote:
 Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
 membership list sortable. For some reason the sortable features isn't
 being enabled (or at least visible). I need help find the culprit.
 Here are the steps I've taken so far:

 1)
 In the header.php file I added the following code between the head
 tags:

 head
 script type=text/javascript src=library/scripts/jquery-
 latest.js/script
 script type=text/javascript src=library/scripts/
 jquery.tablesorter.js/script

 ?php

 wp_head(); ?

 /head

 (the scripts directory is located at /wp/wp-content/themes/mytheme/
 library/scripts/)

 2)
 and in the jquery.tablesorter.js script I added the following code
 just below the comments at the top:
 (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

 $(document).ready(function()
     {
         $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
     }
 );

 (I tried putting this function in the header itself, as 
 whathttp://tablesorter.com/docs/#Getting-Startedseem to be saying, but
 this had only the effect of displaying this code on the page itself.)

 3)
 On the page with the table, I used the same sample table 
 fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

 table id=1
 thead
 tr
     thLast Name/th
     thFirst Name/th
     thEmail/th
     thDue/th
     thWeb Site/th
 /tr
 /thead
 tbody
 tr
     tdSmith/td
     tdJohn/td
     tdjsm...@gmail.com/td
     td$50.00/td
     tdhttp://www.jsmith.com/td
 /tr
 tr
     tdBach/td
     tdFrank/td
     tdfb...@yahoo.com/td
     td$50.00/td
     tdhttp://www.frank.com/td
 /tr
 /tbody
 /table

 But, while the table shows up on the page, the sortable features are
 not visible.

 NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
 to trouble shoot this issue, I am not using the shortcode and using a
 HTML table directly in the page, for now.

 Please advise what I need to do to fix this?

 Thanks!
 Amy


[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread bayadmin

Hi GaVrA, per your suggestion I added the # sign to the function and
it did not make any difference.

On May 27, 12:17 pm, GaVrA ga...@crtaci.info wrote:
 I think you didnt make selector valid. You need to use them just like
 you use in css. For instance, you have this:

 $(1).tablesorter( {sortList: [[0,0], [1,0]]} );

 it should be this:

 $(#1).tablesorter( {sortList: [[0,0], [1,0]]} );

 On May 27, 7:26 pm, bayadmin admin.baynet...@gmail.com wrote:

  Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
  membership list sortable. For some reason the sortable features isn't
  being enabled (or at least visible). I need help find the culprit.
  Here are the steps I've taken so far:

  1)
  In the header.php file I added the following code between the head
  tags:

  head
  script type=text/javascript src=library/scripts/jquery-
  latest.js/script
  script type=text/javascript src=library/scripts/
  jquery.tablesorter.js/script

  ?php

  wp_head(); ?

  /head

  (the scripts directory is located at /wp/wp-content/themes/mytheme/
  library/scripts/)

  2)
  and in the jquery.tablesorter.js script I added the following code
  just below the comments at the top:
  (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

  $(document).ready(function()
      {
          $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
      }
  );

  (I tried putting this function in the header itself, as 
  whathttp://tablesorter.com/docs/#Getting-Startedseemto be saying, but
  this had only the effect of displaying this code on the page itself.)

  3)
  On the page with the table, I used the same sample table 
  fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

  table id=1
  thead
  tr
      thLast Name/th
      thFirst Name/th
      thEmail/th
      thDue/th
      thWeb Site/th
  /tr
  /thead
  tbody
  tr
      tdSmith/td
      tdJohn/td
      tdjsm...@gmail.com/td
      td$50.00/td
      tdhttp://www.jsmith.com/td
  /tr
  tr
      tdBach/td
      tdFrank/td
      tdfb...@yahoo.com/td
      td$50.00/td
      tdhttp://www.frank.com/td
  /tr
  /tbody
  /table

  But, while the table shows up on the page, the sortable features are
  not visible.

  NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
  to trouble shoot this issue, I am not using the shortcode and using a
  HTML table directly in the page, for now.

  Please advise what I need to do to fix this?

  Thanks!
  Amy


[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread Matt Brown

I'm pretty sure it's invalid HTML/CSS/whatever to have elements whose
IDs start with a number. Trying using a regular name, such as
element1.

On May 27, 4:03 pm, bayadmin admin.baynet...@gmail.com wrote:
 Hi GaVrA, per your suggestion I added the # sign to the function and
 it did not make any difference.

 On May 27, 12:17 pm, GaVrA ga...@crtaci.info wrote:

  I think you didnt make selector valid. You need to use them just like
  you use in css. For instance, you have this:

  $(1).tablesorter( {sortList: [[0,0], [1,0]]} );

  it should be this:

  $(#1).tablesorter( {sortList: [[0,0], [1,0]]} );

  On May 27, 7:26 pm, bayadmin admin.baynet...@gmail.com wrote:

   Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
   membership list sortable. For some reason the sortable features isn't
   being enabled (or at least visible). I need help find the culprit.
   Here are the steps I've taken so far:

   1)
   In the header.php file I added the following code between the head
   tags:

   head
   script type=text/javascript src=library/scripts/jquery-
   latest.js/script
   script type=text/javascript src=library/scripts/
   jquery.tablesorter.js/script

   ?php

   wp_head(); ?

   /head

   (the scripts directory is located at /wp/wp-content/themes/mytheme/
   library/scripts/)

   2)
   and in the jquery.tablesorter.js script I added the following code
   just below the comments at the top:
   (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

   $(document).ready(function()
       {
           $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
       }
   );

   (I tried putting this function in the header itself, as 
   whathttp://tablesorter.com/docs/#Getting-Startedseemtobe saying, but
   this had only the effect of displaying this code on the page itself.)

   3)
   On the page with the table, I used the same sample table 
   fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

   table id=1
   thead
   tr
       thLast Name/th
       thFirst Name/th
       thEmail/th
       thDue/th
       thWeb Site/th
   /tr
   /thead
   tbody
   tr
       tdSmith/td
       tdJohn/td
       tdjsm...@gmail.com/td
       td$50.00/td
       tdhttp://www.jsmith.com/td
   /tr
   tr
       tdBach/td
       tdFrank/td
       tdfb...@yahoo.com/td
       td$50.00/td
       tdhttp://www.frank.com/td
   /tr
   /tbody
   /table

   But, while the table shows up on the page, the sortable features are
   not visible.

   NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
   to trouble shoot this issue, I am not using the shortcode and using a
   HTML table directly in the page, for now.

   Please advise what I need to do to fix this?

   Thanks!
   Amy


[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread Jonathan

the ID 1 is invalid.

See http://www.w3.org/TR/REC-html40/types.html#type-name


On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote:
 Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
 membership list sortable. For some reason the sortable features isn't
 being enabled (or at least visible). I need help find the culprit.
 Here are the steps I've taken so far:

 1)
 In the header.php file I added the following code between the head
 tags:

 head
 script type=text/javascript src=library/scripts/jquery-
 latest.js/script
 script type=text/javascript src=library/scripts/
 jquery.tablesorter.js/script

 ?php

 wp_head(); ?

 /head

 (the scripts directory is located at /wp/wp-content/themes/mytheme/
 library/scripts/)

 2)
 and in the jquery.tablesorter.js script I added the following code
 just below the comments at the top:
 (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

 $(document).ready(function()
     {
         $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
     }
 );

 (I tried putting this function in the header itself, as 
 whathttp://tablesorter.com/docs/#Getting-Startedseem to be saying, but
 this had only the effect of displaying this code on the page itself.)

 3)
 On the page with the table, I used the same sample table 
 fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

 table id=1
 thead
 tr
     thLast Name/th
     thFirst Name/th
     thEmail/th
     thDue/th
     thWeb Site/th
 /tr
 /thead
 tbody
 tr
     tdSmith/td
     tdJohn/td
     tdjsm...@gmail.com/td
     td$50.00/td
     tdhttp://www.jsmith.com/td
 /tr
 tr
     tdBach/td
     tdFrank/td
     tdfb...@yahoo.com/td
     td$50.00/td
     tdhttp://www.frank.com/td
 /tr
 /tbody
 /table

 But, while the table shows up on the page, the sortable features are
 not visible.

 NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
 to trouble shoot this issue, I am not using the shortcode and using a
 HTML table directly in the page, for now.

 Please advise what I need to do to fix this?

 Thanks!
 Amy


[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread GaVrA

You are right Matt.

ID and NAME tokens must begin with a letter ([A-Za-z]) and may be
followed by any number of letters, digits ([0-9]), hyphens (-),
underscores (_), colons (:), and periods (.).

http://www.w3.org/TR/REC-html40/types.html#type-name

On May 27, 10:08 pm, Matt Brown matt.br...@citrix.com wrote:
 I'm pretty sure it's invalid HTML/CSS/whatever to have elements whose
 IDs start with a number. Trying using a regular name, such as
 element1.

 On May 27, 4:03 pm, bayadmin admin.baynet...@gmail.com wrote:

  Hi GaVrA, per your suggestion I added the # sign to the function and
  it did not make any difference.

  On May 27, 12:17 pm, GaVrA ga...@crtaci.info wrote:

   I think you didnt make selector valid. You need to use them just like
   you use in css. For instance, you have this:

   $(1).tablesorter( {sortList: [[0,0], [1,0]]} );

   it should be this:

   $(#1).tablesorter( {sortList: [[0,0], [1,0]]} );

   On May 27, 7:26 pm, bayadmin admin.baynet...@gmail.com wrote:

Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
membership list sortable. For some reason the sortable features isn't
being enabled (or at least visible). I need help find the culprit.
Here are the steps I've taken so far:

1)
In the header.php file I added the following code between the head
tags:

head
script type=text/javascript src=library/scripts/jquery-
latest.js/script
script type=text/javascript src=library/scripts/
jquery.tablesorter.js/script

?php

wp_head(); ?

/head

(the scripts directory is located at /wp/wp-content/themes/mytheme/
library/scripts/)

2)
and in the jquery.tablesorter.js script I added the following code
just below the comments at the top:
(perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

$(document).ready(function()
    {
        $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
    }
);

(I tried putting this function in the header itself, as 
whathttp://tablesorter.com/docs/#Getting-Startedseemtobesaying, but
this had only the effect of displaying this code on the page itself.)

3)
On the page with the table, I used the same sample table 
fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

table id=1
thead
tr
    thLast Name/th
    thFirst Name/th
    thEmail/th
    thDue/th
    thWeb Site/th
/tr
/thead
tbody
tr
    tdSmith/td
    tdJohn/td
    tdjsm...@gmail.com/td
    td$50.00/td
    tdhttp://www.jsmith.com/td
/tr
tr
    tdBach/td
    tdFrank/td
    tdfb...@yahoo.com/td
    td$50.00/td
    tdhttp://www.frank.com/td
/tr
/tbody
/table

But, while the table shows up on the page, the sortable features are
not visible.

NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
to trouble shoot this issue, I am not using the shortcode and using a
HTML table directly in the page, for now.

Please advise what I need to do to fix this?

Thanks!
Amy


[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread GaVrA

Ehh... Faster then me for 3min... :P

On May 27, 10:11 pm, Jonathan jdd...@gmail.com wrote:
 the ID 1 is invalid.

 Seehttp://www.w3.org/TR/REC-html40/types.html#type-name

 On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote:

  Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
  membership list sortable. For some reason the sortable features isn't
  being enabled (or at least visible). I need help find the culprit.
  Here are the steps I've taken so far:

  1)
  In the header.php file I added the following code between the head
  tags:

  head
  script type=text/javascript src=library/scripts/jquery-
  latest.js/script
  script type=text/javascript src=library/scripts/
  jquery.tablesorter.js/script

  ?php

  wp_head(); ?

  /head

  (the scripts directory is located at /wp/wp-content/themes/mytheme/
  library/scripts/)

  2)
  and in the jquery.tablesorter.js script I added the following code
  just below the comments at the top:
  (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

  $(document).ready(function()
      {
          $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
      }
  );

  (I tried putting this function in the header itself, as 
  whathttp://tablesorter.com/docs/#Getting-Startedseemto be saying, but
  this had only the effect of displaying this code on the page itself.)

  3)
  On the page with the table, I used the same sample table 
  fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

  table id=1
  thead
  tr
      thLast Name/th
      thFirst Name/th
      thEmail/th
      thDue/th
      thWeb Site/th
  /tr
  /thead
  tbody
  tr
      tdSmith/td
      tdJohn/td
      tdjsm...@gmail.com/td
      td$50.00/td
      tdhttp://www.jsmith.com/td
  /tr
  tr
      tdBach/td
      tdFrank/td
      tdfb...@yahoo.com/td
      td$50.00/td
      tdhttp://www.frank.com/td
  /tr
  /tbody
  /table

  But, while the table shows up on the page, the sortable features are
  not visible.

  NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
  to trouble shoot this issue, I am not using the shortcode and using a
  HTML table directly in the page, for now.

  Please advise what I need to do to fix this?

  Thanks!
  Amy


[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread bayadmin

HmmI tried those, too. I changed both the function and table to
another example given in the documentation:

1) the  scripts and function in the header.php:

script type=text/javascript src=library/scripts/jquery-
latest.js/script 
script type=text/javascript src=library/scripts/
jquery.tablesorter.js/script 

script type=text/javascript id=js

$(document).ready(function() {
// call the tablesorter plugin
$(table).tablesorter();
});

/script
?php

wp_head(); ?

/head

2) The table itself.

table class=tablesorter cellspacing=1
thead
tr
thfirst name/th
thlast name/th
thage/th
thtotal/th
thdiscount/th
thdiff/th
/tr
/thead
tbody
tr
tdpeter/td
tdparker/td
td28/td
td9.99/td
td20.3%/td
td+3/td
/tr
tr
tdjohn/td
tdhood/td
td33/td
td19.99/td
td25.1%/td
td-7/td
/tr
/tbody
/table

Still no difference. -Amy

On May 27, 1:16 pm, GaVrA ga...@crtaci.info wrote:
 Ehh... Faster then me for 3min... :P

 On May 27, 10:11 pm, Jonathan jdd...@gmail.com wrote:

  the ID 1 is invalid.

  Seehttp://www.w3.org/TR/REC-html40/types.html#type-name

  On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote:

   Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
   membership list sortable. For some reason the sortable features isn't
   being enabled (or at least visible). I need help find the culprit.
   Here are the steps I've taken so far:

   1)
   In the header.php file I added the following code between the head
   tags:

   head
   script type=text/javascript src=library/scripts/jquery-
   latest.js/script
   script type=text/javascript src=library/scripts/
   jquery.tablesorter.js/script

   ?php

   wp_head(); ?

   /head

   (the scripts directory is located at /wp/wp-content/themes/mytheme/
   library/scripts/)

   2)
   and in the jquery.tablesorter.js script I added the following code
   just below the comments at the top:
   (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

   $(document).ready(function()
       {
           $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
       }
   );

   (I tried putting this function in the header itself, as 
   whathttp://tablesorter.com/docs/#Getting-Startedseemtobe saying, but
   this had only the effect of displaying this code on the page itself.)

   3)
   On the page with the table, I used the same sample table 
   fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

   table id=1
   thead
   tr
       thLast Name/th
       thFirst Name/th
       thEmail/th
       thDue/th
       thWeb Site/th
   /tr
   /thead
   tbody
   tr
       tdSmith/td
       tdJohn/td
       tdjsm...@gmail.com/td
       td$50.00/td
       tdhttp://www.jsmith.com/td
   /tr
   tr
       tdBach/td
       tdFrank/td
       tdfb...@yahoo.com/td
       td$50.00/td
       tdhttp://www.frank.com/td
   /tr
   /tbody
   /table

   But, while the table shows up on the page, the sortable features are
   not visible.

   NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
   to trouble shoot this issue, I am not using the shortcode and using a
   HTML table directly in the page, for now.

   Please advise what I need to do to fix this?

   Thanks!
   Amy


[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread bayadmin

HmmI tried those, too. I changed both the function and table to
another example given in the documentation:

1) the  scripts and function in the header.php:

script type=text/javascript src=library/scripts/jquery-
latest.js/script 
script type=text/javascript src=library/scripts/
jquery.tablesorter.js/script 

script type=text/javascript id=js

$(document).ready(function() {
// call the tablesorter plugin
$(table).tablesorter();
});

/script
?php

wp_head(); ?

/head

2) The table itself.

table class=tablesorter cellspacing=1
thead
tr
thfirst name/th
thlast name/th
thage/th
thtotal/th
thdiscount/th
thdiff/th
/tr
/thead
tbody
tr
tdpeter/td
tdparker/td
td28/td
td9.99/td
td20.3%/td
td+3/td
/tr
tr
tdjohn/td
tdhood/td
td33/td
td19.99/td
td25.1%/td
td-7/td
/tr
/tbody
/table

Still no difference. -Amy

On May 27, 1:16 pm, GaVrA ga...@crtaci.info wrote:
 Ehh... Faster then me for 3min... :P

 On May 27, 10:11 pm, Jonathan jdd...@gmail.com wrote:

  the ID 1 is invalid.

  Seehttp://www.w3.org/TR/REC-html40/types.html#type-name

  On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote:

   Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
   membership list sortable. For some reason the sortable features isn't
   being enabled (or at least visible). I need help find the culprit.
   Here are the steps I've taken so far:

   1)
   In the header.php file I added the following code between the head
   tags:

   head
   script type=text/javascript src=library/scripts/jquery-
   latest.js/script
   script type=text/javascript src=library/scripts/
   jquery.tablesorter.js/script

   ?php

   wp_head(); ?

   /head

   (the scripts directory is located at /wp/wp-content/themes/mytheme/
   library/scripts/)

   2)
   and in the jquery.tablesorter.js script I added the following code
   just below the comments at the top:
   (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

   $(document).ready(function()
       {
           $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
       }
   );

   (I tried putting this function in the header itself, as 
   whathttp://tablesorter.com/docs/#Getting-Startedseemtobe saying, but
   this had only the effect of displaying this code on the page itself.)

   3)
   On the page with the table, I used the same sample table 
   fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

   table id=1
   thead
   tr
       thLast Name/th
       thFirst Name/th
       thEmail/th
       thDue/th
       thWeb Site/th
   /tr
   /thead
   tbody
   tr
       tdSmith/td
       tdJohn/td
       tdjsm...@gmail.com/td
       td$50.00/td
       tdhttp://www.jsmith.com/td
   /tr
   tr
       tdBach/td
       tdFrank/td
       tdfb...@yahoo.com/td
       td$50.00/td
       tdhttp://www.frank.com/td
   /tr
   /tbody
   /table

   But, while the table shows up on the page, the sortable features are
   not visible.

   NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
   to trouble shoot this issue, I am not using the shortcode and using a
   HTML table directly in the page, for now.

   Please advise what I need to do to fix this?

   Thanks!
   Amy


[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread bayadmin

HmmI tried those, too. I changed both the function and table to
another example given in the documentation:

1) the  scripts and function in the header.php:

script type=text/javascript src=library/scripts/jquery-
latest.js/script 
script type=text/javascript src=library/scripts/
jquery.tablesorter.js/script 

script type=text/javascript id=js

$(document).ready(function() {
// call the tablesorter plugin
$(table).tablesorter();
});

/script
?php

wp_head(); ?

/head

2) The table itself.

table class=tablesorter cellspacing=1
thead
tr
thfirst name/th
thlast name/th
thage/th
thtotal/th
thdiscount/th
thdiff/th
/tr
/thead
tbody
tr
tdpeter/td
tdparker/td
td28/td
td9.99/td
td20.3%/td
td+3/td
/tr
tr
tdjohn/td
tdhood/td
td33/td
td19.99/td
td25.1%/td
td-7/td
/tr
/tbody
/table

Still no difference. -Amy

On May 27, 1:16 pm, GaVrA ga...@crtaci.info wrote:
 Ehh... Faster then me for 3min... :P

 On May 27, 10:11 pm, Jonathan jdd...@gmail.com wrote:

  the ID 1 is invalid.

  Seehttp://www.w3.org/TR/REC-html40/types.html#type-name

  On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote:

   Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
   membership list sortable. For some reason the sortable features isn't
   being enabled (or at least visible). I need help find the culprit.
   Here are the steps I've taken so far:

   1)
   In the header.php file I added the following code between the head
   tags:

   head
   script type=text/javascript src=library/scripts/jquery-
   latest.js/script
   script type=text/javascript src=library/scripts/
   jquery.tablesorter.js/script

   ?php

   wp_head(); ?

   /head

   (the scripts directory is located at /wp/wp-content/themes/mytheme/
   library/scripts/)

   2)
   and in the jquery.tablesorter.js script I added the following code
   just below the comments at the top:
   (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

   $(document).ready(function()
       {
           $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
       }
   );

   (I tried putting this function in the header itself, as 
   whathttp://tablesorter.com/docs/#Getting-Startedseemtobe saying, but
   this had only the effect of displaying this code on the page itself.)

   3)
   On the page with the table, I used the same sample table 
   fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

   table id=1
   thead
   tr
       thLast Name/th
       thFirst Name/th
       thEmail/th
       thDue/th
       thWeb Site/th
   /tr
   /thead
   tbody
   tr
       tdSmith/td
       tdJohn/td
       tdjsm...@gmail.com/td
       td$50.00/td
       tdhttp://www.jsmith.com/td
   /tr
   tr
       tdBach/td
       tdFrank/td
       tdfb...@yahoo.com/td
       td$50.00/td
       tdhttp://www.frank.com/td
   /tr
   /tbody
   /table

   But, while the table shows up on the page, the sortable features are
   not visible.

   NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
   to trouble shoot this issue, I am not using the shortcode and using a
   HTML table directly in the page, for now.

   Please advise what I need to do to fix this?

   Thanks!
   Amy


[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread Josh Nathanson

Try clicking twice on a header.  The first click won't appear to do anything
if the table is already sorted.

-- Josh

-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of bayadmin
Sent: Wednesday, May 27, 2009 1:30 PM
To: jQuery (English)
Subject: [jQuery] Re: Tablesorter is not enabled on my page


HmmI tried those, too. I changed both the function and table to
another example given in the documentation:

1) the  scripts and function in the header.php:

script type=text/javascript src=library/scripts/jquery-
latest.js/script 
script type=text/javascript src=library/scripts/
jquery.tablesorter.js/script 

script type=text/javascript id=js

$(document).ready(function() {
// call the tablesorter plugin
$(table).tablesorter();
});

/script
?php

wp_head(); ?

/head

2) The table itself.

table class=tablesorter cellspacing=1
thead
tr
thfirst name/th
thlast name/th
thage/th
thtotal/th
thdiscount/th
thdiff/th
/tr
/thead
tbody
tr
tdpeter/td
tdparker/td
td28/td
td9.99/td
td20.3%/td
td+3/td
/tr
tr
tdjohn/td
tdhood/td
td33/td
td19.99/td
td25.1%/td
td-7/td
/tr
/tbody
/table

Still no difference. -Amy

On May 27, 1:16 pm, GaVrA ga...@crtaci.info wrote:
 Ehh... Faster then me for 3min... :P

 On May 27, 10:11 pm, Jonathan jdd...@gmail.com wrote:

  the ID 1 is invalid.

  Seehttp://www.w3.org/TR/REC-html40/types.html#type-name

  On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote:

   Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
   membership list sortable. For some reason the sortable features isn't
   being enabled (or at least visible). I need help find the culprit.
   Here are the steps I've taken so far:

   1)
   In the header.php file I added the following code between the head
   tags:

   head
   script type=text/javascript src=library/scripts/jquery-
   latest.js/script
   script type=text/javascript src=library/scripts/
   jquery.tablesorter.js/script

   ?php

   wp_head(); ?

   /head

   (the scripts directory is located at /wp/wp-content/themes/mytheme/
   library/scripts/)

   2)
   and in the jquery.tablesorter.js script I added the following code
   just below the comments at the top:
  
(perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

   $(document).ready(function()
       {
           $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
       }
   );

   (I tried putting this function in the header itself, as
whathttp://tablesorter.com/docs/#Getting-Startedseemtobe saying, but
   this had only the effect of displaying this code on the page itself.)

   3)
   On the page with the table, I used the same sample table
fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

   table id=1
   thead
   tr
       thLast Name/th
       thFirst Name/th
       thEmail/th
       thDue/th
       thWeb Site/th
   /tr
   /thead
   tbody
   tr
       tdSmith/td
       tdJohn/td
       tdjsm...@gmail.com/td
       td$50.00/td
       tdhttp://www.jsmith.com/td
   /tr
   tr
       tdBach/td
       tdFrank/td
       tdfb...@yahoo.com/td
       td$50.00/td
       tdhttp://www.frank.com/td
   /tr
   /tbody
   /table

   But, while the table shows up on the page, the sortable features are
   not visible.

   NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
   to trouble shoot this issue, I am not using the shortcode and using a
   HTML table directly in the page, for now.

   Please advise what I need to do to fix this?

   Thanks!
   Amy



[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread bayadmin

HmmI tried those, too. I changed both the function and table to
another example given in the documentation:

1) the  scripts and function in the header.php:

script type=text/javascript src=library/scripts/jquery-
latest.js/script 
script type=text/javascript src=library/scripts/
jquery.tablesorter.js/script 

script type=text/javascript id=js

$(document).ready(function() {
// call the tablesorter plugin
$(table).tablesorter();
});

/script
?php

wp_head(); ?

/head

2) The table itself.

table class=tablesorter cellspacing=1
thead
tr
thfirst name/th
thlast name/th
thage/th
thtotal/th
thdiscount/th
thdiff/th
/tr
/thead
tbody
tr
tdpeter/td
tdparker/td
td28/td
td9.99/td
td20.3%/td
td+3/td
/tr
tr
tdjohn/td
tdhood/td
td33/td
td19.99/td
td25.1%/td
td-7/td
/tr
/tbody
/table

Still no difference. -Amy

On May 27, 1:16 pm, GaVrA ga...@crtaci.info wrote:
 Ehh... Faster then me for 3min... :P

 On May 27, 10:11 pm, Jonathan jdd...@gmail.com wrote:

  the ID 1 is invalid.

  Seehttp://www.w3.org/TR/REC-html40/types.html#type-name

  On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote:

   Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
   membership list sortable. For some reason the sortable features isn't
   being enabled (or at least visible). I need help find the culprit.
   Here are the steps I've taken so far:

   1)
   In the header.php file I added the following code between the head
   tags:

   head
   script type=text/javascript src=library/scripts/jquery-
   latest.js/script
   script type=text/javascript src=library/scripts/
   jquery.tablesorter.js/script

   ?php

   wp_head(); ?

   /head

   (the scripts directory is located at /wp/wp-content/themes/mytheme/
   library/scripts/)

   2)
   and in the jquery.tablesorter.js script I added the following code
   just below the comments at the top:
   (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

   $(document).ready(function()
       {
           $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
       }
   );

   (I tried putting this function in the header itself, as 
   whathttp://tablesorter.com/docs/#Getting-Startedseemtobe saying, but
   this had only the effect of displaying this code on the page itself.)

   3)
   On the page with the table, I used the same sample table 
   fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

   table id=1
   thead
   tr
       thLast Name/th
       thFirst Name/th
       thEmail/th
       thDue/th
       thWeb Site/th
   /tr
   /thead
   tbody
   tr
       tdSmith/td
       tdJohn/td
       tdjsm...@gmail.com/td
       td$50.00/td
       tdhttp://www.jsmith.com/td
   /tr
   tr
       tdBach/td
       tdFrank/td
       tdfb...@yahoo.com/td
       td$50.00/td
       tdhttp://www.frank.com/td
   /tr
   /tbody
   /table

   But, while the table shows up on the page, the sortable features are
   not visible.

   NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
   to trouble shoot this issue, I am not using the shortcode and using a
   HTML table directly in the page, for now.

   Please advise what I need to do to fix this?

   Thanks!
   Amy


[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread bayadmin

Still nothing. Here's the link: 
http://www.baynetlibs.net/wp/membership/membership-list/

On May 27, 1:36 pm, Josh Nathanson joshnathan...@gmail.com wrote:
 Try clicking twice on a header.  The first click won't appear to do anything
 if the table is already sorted.

 -- Josh

 -Original Message-
 From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On

 Behalf Of bayadmin
 Sent: Wednesday, May 27, 2009 1:30 PM
 To: jQuery (English)
 Subject: [jQuery] Re: Tablesorter is not enabled on my page

 HmmI tried those, too. I changed both the function and table to
 another example given in the documentation:

 1) the  scripts and function in the header.php:

 script type=text/javascript src=library/scripts/jquery-
 latest.js/script 
 script type=text/javascript src=library/scripts/
 jquery.tablesorter.js/script 

 script type=text/javascript id=js

 $(document).ready(function() {
     // call the tablesorter plugin
     $(table).tablesorter();
 });

 /script
 ?php

 wp_head(); ?

 /head

 2) The table itself.

 table class=tablesorter cellspacing=1
     thead
         tr
             thfirst name/th
             thlast name/th
             thage/th
             thtotal/th
             thdiscount/th
             thdiff/th
         /tr
     /thead
     tbody
         tr
             tdpeter/td
             tdparker/td
             td28/td
             td9.99/td
             td20.3%/td
             td+3/td
         /tr
         tr
             tdjohn/td
             tdhood/td
             td33/td
             td19.99/td
             td25.1%/td
             td-7/td
         /tr
     /tbody
 /table

 Still no difference. -Amy

 On May 27, 1:16 pm, GaVrA ga...@crtaci.info wrote:
  Ehh... Faster then me for 3min... :P

  On May 27, 10:11 pm, Jonathan jdd...@gmail.com wrote:

   the ID 1 is invalid.

   Seehttp://www.w3.org/TR/REC-html40/types.html#type-name

   On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote:

Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
membership list sortable. For some reason the sortable features isn't
being enabled (or at least visible). I need help find the culprit.
Here are the steps I've taken so far:

1)
In the header.php file I added the following code between the head
tags:

head
script type=text/javascript src=library/scripts/jquery-
latest.js/script
script type=text/javascript src=library/scripts/
jquery.tablesorter.js/script

?php

wp_head(); ?

/head

(the scripts directory is located at /wp/wp-content/themes/mytheme/
library/scripts/)

2)
and in the jquery.tablesorter.js script I added the following code
just below the comments at the top:

 (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

$(document).ready(function()
    {
        $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
    }
);

(I tried putting this function in the header itself, as
 whathttp://tablesorter.com/docs/#Getting-Startedseemtobesaying, but
this had only the effect of displaying this code on the page itself.)

3)
On the page with the table, I used the same sample table
 fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

table id=1
thead
tr
    thLast Name/th
    thFirst Name/th
    thEmail/th
    thDue/th
    thWeb Site/th
/tr
/thead
tbody
tr
    tdSmith/td
    tdJohn/td
    tdjsm...@gmail.com/td
    td$50.00/td
    tdhttp://www.jsmith.com/td
/tr
tr
    tdBach/td
    tdFrank/td
    tdfb...@yahoo.com/td
    td$50.00/td
    tdhttp://www.frank.com/td
/tr
/tbody
/table

But, while the table shows up on the page, the sortable features are
not visible.

NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
to trouble shoot this issue, I am not using the shortcode and using a
HTML table directly in the page, for now.

Please advise what I need to do to fix this?

Thanks!
Amy


[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread Matt Brown

If you enable Firebug, you'll see that the page has a Javascript
error: $ is not defined.

This is because your server is returning 404's for:

http://www.baynetlibs.net/wp/membership/membership-list/library/scripts/jquery-latest.js
http://www.baynetlibs.net/wp/membership/membership-list/library/scripts/jquery.tablesorter.js

Therefore none of the code is ever actually running.


On May 27, 4:49 pm, bayadmin admin.baynet...@gmail.com wrote:
 Still nothing. Here's the 
 link:http://www.baynetlibs.net/wp/membership/membership-list/

 On May 27, 1:36 pm, Josh Nathanson joshnathan...@gmail.com wrote:

  Try clicking twice on a header.  The first click won't appear to do anything
  if the table is already sorted.

  -- Josh

  -Original Message-
  From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On

  Behalf Of bayadmin
  Sent: Wednesday, May 27, 2009 1:30 PM
  To: jQuery (English)
  Subject: [jQuery] Re: Tablesorter is not enabled on my page

  HmmI tried those, too. I changed both the function and table to
  another example given in the documentation:

  1) the  scripts and function in the header.php:

  script type=text/javascript src=library/scripts/jquery-
  latest.js/script 
  script type=text/javascript src=library/scripts/
  jquery.tablesorter.js/script 

  script type=text/javascript id=js

  $(document).ready(function() {
      // call the tablesorter plugin
      $(table).tablesorter();
  });

  /script
  ?php

  wp_head(); ?

  /head

  2) The table itself.

  table class=tablesorter cellspacing=1
      thead
          tr
              thfirst name/th
              thlast name/th
              thage/th
              thtotal/th
              thdiscount/th
              thdiff/th
          /tr
      /thead
      tbody
          tr
              tdpeter/td
              tdparker/td
              td28/td
              td9.99/td
              td20.3%/td
              td+3/td
          /tr
          tr
              tdjohn/td
              tdhood/td
              td33/td
              td19.99/td
              td25.1%/td
              td-7/td
          /tr
      /tbody
  /table

  Still no difference. -Amy

  On May 27, 1:16 pm, GaVrA ga...@crtaci.info wrote:
   Ehh... Faster then me for 3min... :P

   On May 27, 10:11 pm, Jonathan jdd...@gmail.com wrote:

the ID 1 is invalid.

Seehttp://www.w3.org/TR/REC-html40/types.html#type-name

On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote:

 Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
 membership list sortable. For some reason the sortable features isn't
 being enabled (or at least visible). I need help find the culprit.
 Here are the steps I've taken so far:

 1)
 In the header.php file I added the following code between the head
 tags:

 head
 script type=text/javascript src=library/scripts/jquery-
 latest.js/script
 script type=text/javascript src=library/scripts/
 jquery.tablesorter.js/script

 ?php

 wp_head(); ?

 /head

 (the scripts directory is located at /wp/wp-content/themes/mytheme/
 library/scripts/)

 2)
 and in the jquery.tablesorter.js script I added the following code
 just below the comments at the top:

  (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

 $(document).ready(function()
     {
         $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
     }
 );

 (I tried putting this function in the header itself, as
  whathttp://tablesorter.com/docs/#Getting-Startedseemtobesaying, but
 this had only the effect of displaying this code on the page itself.)

 3)
 On the page with the table, I used the same sample table
  fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

 table id=1
 thead
 tr
     thLast Name/th
     thFirst Name/th
     thEmail/th
     thDue/th
     thWeb Site/th
 /tr
 /thead
 tbody
 tr
     tdSmith/td
     tdJohn/td
     tdjsm...@gmail.com/td
     td$50.00/td
     tdhttp://www.jsmith.com/td
 /tr
 tr
     tdBach/td
     tdFrank/td
     tdfb...@yahoo.com/td
     td$50.00/td
     tdhttp://www.frank.com/td
 /tr
 /tbody
 /table

 But, while the table shows up on the page, the sortable features are
 not visible.

 NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
 to trouble shoot this issue, I am not using the shortcode and using a
 HTML table directly in the page, for now.

 Please advise what I need to do to fix this?

 Thanks!
 Amy


[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread bayadmin

Still nothing. Here's the link: 
http://www.baynetlibs.net/wp/membership/membership-list/

On May 27, 1:36 pm, Josh Nathanson joshnathan...@gmail.com wrote:
 Try clicking twice on a header.  The first click won't appear to do anything
 if the table is already sorted.

 -- Josh

 -Original Message-
 From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On

 Behalf Of bayadmin
 Sent: Wednesday, May 27, 2009 1:30 PM
 To: jQuery (English)
 Subject: [jQuery] Re: Tablesorter is not enabled on my page

 HmmI tried those, too. I changed both the function and table to
 another example given in the documentation:

 1) the  scripts and function in the header.php:

 script type=text/javascript src=library/scripts/jquery-
 latest.js/script 
 script type=text/javascript src=library/scripts/
 jquery.tablesorter.js/script 

 script type=text/javascript id=js

 $(document).ready(function() {
     // call the tablesorter plugin
     $(table).tablesorter();
 });

 /script
 ?php

 wp_head(); ?

 /head

 2) The table itself.

 table class=tablesorter cellspacing=1
     thead
         tr
             thfirst name/th
             thlast name/th
             thage/th
             thtotal/th
             thdiscount/th
             thdiff/th
         /tr
     /thead
     tbody
         tr
             tdpeter/td
             tdparker/td
             td28/td
             td9.99/td
             td20.3%/td
             td+3/td
         /tr
         tr
             tdjohn/td
             tdhood/td
             td33/td
             td19.99/td
             td25.1%/td
             td-7/td
         /tr
     /tbody
 /table

 Still no difference. -Amy

 On May 27, 1:16 pm, GaVrA ga...@crtaci.info wrote:
  Ehh... Faster then me for 3min... :P

  On May 27, 10:11 pm, Jonathan jdd...@gmail.com wrote:

   the ID 1 is invalid.

   Seehttp://www.w3.org/TR/REC-html40/types.html#type-name

   On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote:

Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
membership list sortable. For some reason the sortable features isn't
being enabled (or at least visible). I need help find the culprit.
Here are the steps I've taken so far:

1)
In the header.php file I added the following code between the head
tags:

head
script type=text/javascript src=library/scripts/jquery-
latest.js/script
script type=text/javascript src=library/scripts/
jquery.tablesorter.js/script

?php

wp_head(); ?

/head

(the scripts directory is located at /wp/wp-content/themes/mytheme/
library/scripts/)

2)
and in the jquery.tablesorter.js script I added the following code
just below the comments at the top:

 (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

$(document).ready(function()
    {
        $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
    }
);

(I tried putting this function in the header itself, as
 whathttp://tablesorter.com/docs/#Getting-Startedseemtobesaying, but
this had only the effect of displaying this code on the page itself.)

3)
On the page with the table, I used the same sample table
 fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

table id=1
thead
tr
    thLast Name/th
    thFirst Name/th
    thEmail/th
    thDue/th
    thWeb Site/th
/tr
/thead
tbody
tr
    tdSmith/td
    tdJohn/td
    tdjsm...@gmail.com/td
    td$50.00/td
    tdhttp://www.jsmith.com/td
/tr
tr
    tdBach/td
    tdFrank/td
    tdfb...@yahoo.com/td
    td$50.00/td
    tdhttp://www.frank.com/td
/tr
/tbody
/table

But, while the table shows up on the page, the sortable features are
not visible.

NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, but
to trouble shoot this issue, I am not using the shortcode and using a
HTML table directly in the page, for now.

Please advise what I need to do to fix this?

Thanks!
Amy


[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread bayadmin

Ah! Thanks, Matt. I noted that the pathway to the scripts needed to be
full, not relative. It's now working. Thanks to all for helping!

On May 27, 1:52 pm, Matt Brown matt.br...@citrix.com wrote:
 If you enable Firebug, you'll see that the page has a Javascript
 error: $ is not defined.

 This is because your server is returning 404's for:

 http://www.baynetlibs.net/wp/membership/membership-list/library/scrip...http://www.baynetlibs.net/wp/membership/membership-list/library/scrip...

 Therefore none of the code is ever actually running.

 On May 27, 4:49 pm, bayadmin admin.baynet...@gmail.com wrote:

  Still nothing. Here's the 
  link:http://www.baynetlibs.net/wp/membership/membership-list/

  On May 27, 1:36 pm, Josh Nathanson joshnathan...@gmail.com wrote:

   Try clicking twice on a header.  The first click won't appear to do 
   anything
   if the table is already sorted.

   -- Josh

   -Original Message-
   From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On

   Behalf Of bayadmin
   Sent: Wednesday, May 27, 2009 1:30 PM
   To: jQuery (English)
   Subject: [jQuery] Re: Tablesorter is not enabled on my page

   HmmI tried those, too. I changed both the function and table to
   another example given in the documentation:

   1) the  scripts and function in the header.php:

   script type=text/javascript src=library/scripts/jquery-
   latest.js/script 
   script type=text/javascript src=library/scripts/
   jquery.tablesorter.js/script 

   script type=text/javascript id=js

   $(document).ready(function() {
       // call the tablesorter plugin
       $(table).tablesorter();
   });

   /script
   ?php

   wp_head(); ?

   /head

   2) The table itself.

   table class=tablesorter cellspacing=1
       thead
           tr
               thfirst name/th
               thlast name/th
               thage/th
               thtotal/th
               thdiscount/th
               thdiff/th
           /tr
       /thead
       tbody
           tr
               tdpeter/td
               tdparker/td
               td28/td
               td9.99/td
               td20.3%/td
               td+3/td
           /tr
           tr
               tdjohn/td
               tdhood/td
               td33/td
               td19.99/td
               td25.1%/td
               td-7/td
           /tr
       /tbody
   /table

   Still no difference. -Amy

   On May 27, 1:16 pm, GaVrA ga...@crtaci.info wrote:
Ehh... Faster then me for 3min... :P

On May 27, 10:11 pm, Jonathan jdd...@gmail.com wrote:

 the ID 1 is invalid.

 Seehttp://www.w3.org/TR/REC-html40/types.html#type-name

 On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote:

  Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
  membership list sortable. For some reason the sortable features 
  isn't
  being enabled (or at least visible). I need help find the culprit.
  Here are the steps I've taken so far:

  1)
  In the header.php file I added the following code between the head
  tags:

  head
  script type=text/javascript src=library/scripts/jquery-
  latest.js/script
  script type=text/javascript src=library/scripts/
  jquery.tablesorter.js/script

  ?php

  wp_head(); ?

  /head

  (the scripts directory is located at /wp/wp-content/themes/mytheme/
  library/scripts/)

  2)
  and in the jquery.tablesorter.js script I added the following code
  just below the comments at the top:

   (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

  $(document).ready(function()
      {
          $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
      }
  );

  (I tried putting this function in the header itself, as
   whathttp://tablesorter.com/docs/#Getting-Startedseemtobesaying, but
  this had only the effect of displaying this code on the page 
  itself.)

  3)
  On the page with the table, I used the same sample table
   fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

  table id=1
  thead
  tr
      thLast Name/th
      thFirst Name/th
      thEmail/th
      thDue/th
      thWeb Site/th
  /tr
  /thead
  tbody
  tr
      tdSmith/td
      tdJohn/td
      tdjsm...@gmail.com/td
      td$50.00/td
      tdhttp://www.jsmith.com/td
  /tr
  tr
      tdBach/td
      tdFrank/td
      tdfb...@yahoo.com/td
      td$50.00/td
      tdhttp://www.frank.com/td
  /tr
  /tbody
  /table

  But, while the table shows up on the page, the sortable features are
  not visible.

  NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, 
  but
  to trouble shoot this issue, I am not using the shortcode and using 
  a
  HTML table directly in the page, for now.

  Please advise what I need to do to fix

[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread bayadmin

Ah! Thanks, Matt. I noted that the pathway to the scripts needed to be
full, not relative. It's now working. Thanks to all for helping!

On May 27, 1:52 pm, Matt Brown matt.br...@citrix.com wrote:
 If you enable Firebug, you'll see that the page has a Javascript
 error: $ is not defined.

 This is because your server is returning 404's for:

 http://www.baynetlibs.net/wp/membership/membership-list/library/scrip...http://www.baynetlibs.net/wp/membership/membership-list/library/scrip...

 Therefore none of the code is ever actually running.

 On May 27, 4:49 pm, bayadmin admin.baynet...@gmail.com wrote:

  Still nothing. Here's the 
  link:http://www.baynetlibs.net/wp/membership/membership-list/

  On May 27, 1:36 pm, Josh Nathanson joshnathan...@gmail.com wrote:

   Try clicking twice on a header.  The first click won't appear to do 
   anything
   if the table is already sorted.

   -- Josh

   -Original Message-
   From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On

   Behalf Of bayadmin
   Sent: Wednesday, May 27, 2009 1:30 PM
   To: jQuery (English)
   Subject: [jQuery] Re: Tablesorter is not enabled on my page

   HmmI tried those, too. I changed both the function and table to
   another example given in the documentation:

   1) the  scripts and function in the header.php:

   script type=text/javascript src=library/scripts/jquery-
   latest.js/script 
   script type=text/javascript src=library/scripts/
   jquery.tablesorter.js/script 

   script type=text/javascript id=js

   $(document).ready(function() {
       // call the tablesorter plugin
       $(table).tablesorter();
   });

   /script
   ?php

   wp_head(); ?

   /head

   2) The table itself.

   table class=tablesorter cellspacing=1
       thead
           tr
               thfirst name/th
               thlast name/th
               thage/th
               thtotal/th
               thdiscount/th
               thdiff/th
           /tr
       /thead
       tbody
           tr
               tdpeter/td
               tdparker/td
               td28/td
               td9.99/td
               td20.3%/td
               td+3/td
           /tr
           tr
               tdjohn/td
               tdhood/td
               td33/td
               td19.99/td
               td25.1%/td
               td-7/td
           /tr
       /tbody
   /table

   Still no difference. -Amy

   On May 27, 1:16 pm, GaVrA ga...@crtaci.info wrote:
Ehh... Faster then me for 3min... :P

On May 27, 10:11 pm, Jonathan jdd...@gmail.com wrote:

 the ID 1 is invalid.

 Seehttp://www.w3.org/TR/REC-html40/types.html#type-name

 On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote:

  Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a
  membership list sortable. For some reason the sortable features 
  isn't
  being enabled (or at least visible). I need help find the culprit.
  Here are the steps I've taken so far:

  1)
  In the header.php file I added the following code between the head
  tags:

  head
  script type=text/javascript src=library/scripts/jquery-
  latest.js/script
  script type=text/javascript src=library/scripts/
  jquery.tablesorter.js/script

  ?php

  wp_head(); ?

  /head

  (the scripts directory is located at /wp/wp-content/themes/mytheme/
  library/scripts/)

  2)
  and in the jquery.tablesorter.js script I added the following code
  just below the comments at the top:

   (perhttp://www.nabble.com/Tablesorter-Into-Wordpress-page-td21007774.htm)

  $(document).ready(function()
      {
          $(1).tablesorter( {sortList: [[0,0], [1,0]]} );
      }
  );

  (I tried putting this function in the header itself, as
   whathttp://tablesorter.com/docs/#Getting-Startedseemtobesaying, but
  this had only the effect of displaying this code on the page 
  itself.)

  3)
  On the page with the table, I used the same sample table
   fromhttp://tablesorter.com/docs/#Getting-Started, using 1 for the ID.

  table id=1
  thead
  tr
      thLast Name/th
      thFirst Name/th
      thEmail/th
      thDue/th
      thWeb Site/th
  /tr
  /thead
  tbody
  tr
      tdSmith/td
      tdJohn/td
      tdjsm...@gmail.com/td
      td$50.00/td
      tdhttp://www.jsmith.com/td
  /tr
  tr
      tdBach/td
      tdFrank/td
      tdfb...@yahoo.com/td
      td$50.00/td
      tdhttp://www.frank.com/td
  /tr
  /tbody
  /table

  But, while the table shows up on the page, the sortable features are
  not visible.

  NOTE: In Wordpress  I have the WP-Table Reloaded plugin activated, 
  but
  to trouble shoot this issue, I am not using the shortcode and using 
  a
  HTML table directly in the page, for now.

  Please advise what I need to do to fix