Re: [jQuery] Odd include ordering bug w/ Tablesorter and WrapInner

2007-02-28 Thread Christian Bach

2007/2/26, Jonathan Freeman [EMAIL PROTECTED]:


Haven't had the time to debug this but if you include the
jquery-plugin-wrapinner.js before the jquery.tablesorter.js (see below)
then the wrapinner will not work. However, reverse the two and both work
successfully.



This is a bit unclear, but the tablesorter plugin provides it's own
implementation of wrapInner.

This will be removed  in the next update.

Best regards
Christian Bach
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Odd include ordering bug w/ Tablesorter and WrapInner

2007-02-28 Thread Jonathan Freeman
Hmmm, makes sense now with the wrapinner implementation within
tablesorter. Sorry for the confusion, maybe this is better ...

Wrap Inner works:
script src=jquery.tablesorter.js type=text/javascript/script
script src=jquery-plugin-wrapinner.js type=text/javascript/script

Wrap Inner does not work:
script src=jquery-plugin-wrapinner.js type=text/javascript/script
script src=jquery.tablesorter.js type=text/javascript/script


--- Christian Bach [EMAIL PROTECTED] wrote:

 2007/2/26, Jonathan Freeman [EMAIL PROTECTED]:
 
  Haven't had the time to debug this but if you include the
  jquery-plugin-wrapinner.js before the jquery.tablesorter.js (see
 below)
  then the wrapinner will not work. However, reverse the two and both
 work
  successfully.
 
 
 This is a bit unclear, but the tablesorter plugin provides it's own
 implementation of wrapInner.
 
 This will be removed  in the next update.
 
 Best regards
 Christian Bach
  ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 



 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Odd include ordering bug w/ Tablesorter and WrapInner

2007-02-26 Thread Jonathan Freeman
Haven't had the time to debug this but if you include the
jquery-plugin-wrapinner.js before the jquery.tablesorter.js (see below)
then the wrapinner will not work. However, reverse the two and both work
successfully.

Latest sources, same results in ie6/ff2
 
html
head
script src=jquery.js type=text/javascript/script
script src=jquery-plugin-wrapinner.js 
type=text/javascript/script
script src=jquery.tablesorter.js type=text/javascript/script
script
$(document).ready(function() {
$(.message).wrapInner(Hello World.);
$(#sortable).tableSorter({
sortColumn: null,
sortClassAsc: 'headerSortUp',
sortClassDesc: 'headerSortDown',
headerClass: 'header',
stripingRowClass: ['even','odd'],
stripRowsOnStartUp: true
}); 
});
/script
/head
body
p class=message/p
table id=sortable
thead
tr
thLast Name/th
thFirst Name/th
thTitle/th
/tr
/thead
tbody
tr
tdJohn/td
tdDoe/td
tdBig guy/td
/tr
tr
tdJane/td
tdSmith/td
tdBoss/td
/tr
/tbody
/table
/body
/html




 

Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/