@Josh, Worked perfectly - jQuery is great - even *I* can make sense of it!
@Rey, The very same - thanks to your continued evangelism of jQuery I've finally caught the bug! Best Wishes, Peter On 8/27/07 2:36 PM, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > > Hi Peter, welcome to the jQuery list! > > Try just changing the "val" to "text" in the plugin - as long as you keep > the class name the same it should work: > var s = $(c.cssPageDisplay,c.container).text((c.page+1) + c.seperator > + c.totalPages); > > Now, best case scenario you don't want to change the plugin, but sometimes > it's unavoidable. > > As far as Mac issues, this is always a challenge when working with plugins. > Sometimes the developer of the plugin may not have access to Mac OS and so > isn't aware of the issue. Posting to this list is a good way to raise > awareness of any issues. > > For those who don't know...Peter is a ColdFusion guru, very highly respected > in the CF community. Good to see you here Peter. > > -- Josh > > > ----- Original Message ----- > From: "Peter Bell" <[EMAIL PROTECTED]> > To: "jQuery (English)" <jquery-en@googlegroups.com> > Sent: Monday, August 27, 2007 11:11 AM > Subject: [jQuery] Tablesorter Questions > > >> >> I'm using tablesorter (http://tablesorter.com/docs/) with paging and >> have a couple of questions. >> >> 1. I'm using the fixedwidth and paging. The up/down arrows in the >> header are overlapping the header text in some cells when I look at >> this in FF2 on OSX although it looks OK on IE7 on a PC. ANyone else >> come across this? Any suggestions? >> >> 2. For the paging component I'm looking to change from displaying page >> 1 of 3 in a text box to just a simple div. I'm a complete JS/jQuery >> n00b and looking for a hint. Right now the code is: >> function updatePageDisplay(c) { >> var s = $(c.cssPageDisplay,c.container).val((c.page+1) + c.seperator >> + c.totalPages); >> } >> >> I'm looking to replace the var s= whatever line with something that >> would add a div or maybe ad/change the text value of a div within the >> pager div. Right now HTML includes: >> >> <div id="pager" class="pager"> >> <form> >> <input type="text" class="pagedisplay"/> >> . . . >> >> Was looking to change to something like: >> <div id="pager" class="pager"> >> <form> >> <div class="PageDisplay"></div> >> >> I'm just completely new to jQuery. Tried a couple of tutorials, but if >> anyone could either suggest a starting point or a page in the docs so >> I could RTFM it'd be much appreciated! >> >