[jQuery] Re: Tablesorter + pager question/bug?

2007-11-18 Thread Preston Hunt

Yep, adding "positionFixed: false" took care of the problem!  Thanks
for the tip.

Best regards,
Preston

On Nov 16, 1:25 pm, cjiang <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I think you can solve the problem by doing the following:
>
> $('table').tablesorter({widthFixed: true})
>.tablesorterPager({container: $("#pager"), positionFixed: false});
>
> by passing the positionFixed default setting to false, the fixPosition
> method will be got called whenver you change the display size.
>
> Thanks,
> Changsu
>
> On Nov 11, 9:09 am,Preston Hunt <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I just found Tablesorter and I'm in love.  It's fast, beautiful,
> > easy...
>
> > However, it looks like there is a bug with the pager module.  I
> > checked the code and documentation and didn't see any workaround or
> > mention of this issue, so I thought I would ask about it in the
> > forums.
>
> > If you go to the sample page on the tablesorter.com web site:
>
> >http://tablesorter.com/docs/example-pager.html
>
> > And change the number of display entries from 10 to 20 (or any other
> > value), the pager div does not get moved to below the table.  It
> > instead ends up on top of the middle of the table.  Happens in Firefox
> > 2 and IE7.
>
> > Also, if I try editing the code and moving the pager div above the
> > table, it will be moved back to the middle of the table as soon as the
> > number of displayed entries is changed.
>
> > I'll dig around in the code a bit, but if anybody else has seen this
> > problem and knows a workaround, please share the solution!
>
> > Thanks,
> >Preston


[jQuery] Re: Tablesorter + pager question/bug?

2007-11-17 Thread cjiang

Hi,

I think you can solve the problem by doing the following:

$('table').tablesorter({widthFixed: true})
   .tablesorterPager({container: $("#pager"), positionFixed: false});

by passing the positionFixed default setting to false, the fixPosition
method will be got called whenver you change the display size.

Thanks,
Changsu

On Nov 11, 9:09 am, Preston  Hunt <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I just found Tablesorter and I'm in love.  It's fast, beautiful,
> easy...
>
> However, it looks like there is a bug with the pager module.  I
> checked the code and documentation and didn't see any workaround or
> mention of this issue, so I thought I would ask about it in the
> forums.
>
> If you go to the sample page on the tablesorter.com web site:
>
> http://tablesorter.com/docs/example-pager.html
>
> And change the number of display entries from 10 to 20 (or any other
> value), the pager div does not get moved to below the table.  It
> instead ends up on top of the middle of the table.  Happens in Firefox
> 2 and IE7.
>
> Also, if I try editing the code and moving the pager div above the
> table, it will be moved back to the middle of the table as soon as the
> number of displayed entries is changed.
>
> I'll dig around in the code a bit, but if anybody else has seen this
> problem and knows a workaround, please share the solution!
>
> Thanks,
> Preston


[jQuery] Re: Tablesorter + pager question/bug?

2007-11-11 Thread Guy Fraser

Preston Hunt wrote:
> And change the number of display entries from 10 to 20 (or any other
> value), the pager div does not get moved to below the table.  It
> instead ends up on top of the middle of the table.  Happens in Firefox
> 2 and IE7.
>   

The #pager div is absolutely positioned using CSS. It would possibly be 
better to relatively position it instead.