To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 5914
5913  |  5915
Subject: 
Re: Next and Prev buttons or links
Newsgroups: 
lugnet.admin.general
Date: 
Wed, 5 Apr 2000 05:34:56 GMT
Highlighted: 
(details)
Viewed: 
953 times
  
In lugnet.admin.general, Todd Lehman writes:
OK, this only took some small tweaks to make it do this (about 10-15 minutes).
It's nothing fancy (numeric links rather than pretty words or buttons) and
it's not especially bright (detects walking off the low end but not the high
end) but maybe it gets the job done well enough for now.

The reason it doesn't detect walking off the high end is that it needs to
know the article count, and at that stage in displaying the page (the header)
it doesn't hardly even know yet what it's going to be displaying, much less
the article count for a group.  :)  So I kluged a little something special
to check for ?n= right before displaying the header.  It knows walking off
the low end because that's always 1.  :)

I'll go back at some later point when I need to be in the code "for real"
and clean up the header stuff so that it holds it in memory until the last
possible moment, so that it can accumulate more gunk from the page as it
starts to figure out the request.

LMK if this doesn't do the trick.

--Todd

I also like this new feature.  One thing, how about adding something like an
up button between the two numbers that does ?n=,-20&v=c so you can jump back
to the index of the group.

Paul (at work)



Message is in Reply To:
  Re: Next and Prev buttons or links
 
(...) OK, this only took some small tweaks to make it do this (about 10-15 minutes). It's nothing fancy (numeric links rather than pretty words or buttons) and it's not especially bright (detects walking off the low end but not the high end) but (...) (25 years ago, 31-Mar-00, to lugnet.admin.general) ! 

25 Messages in This Thread:








Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR