Re: Single Link browsing
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14239
interpreted = N
texte = Grant Hulbert wrote:> > >Yes, am trying to show a single link that says Show next 10 items> >...and one that says Show previous 10 items would be nice too! :-)> > 2.0.1 added support for the max=N parameter for [ShowNext], so you don't have to do weird math things to fake it into showing only one link. Look in the [ShowNext] online docs for things like max=1, position=begin, etc. The example in the docs does what you want, except you should add max=1 to limit the number of links. It works more easily if you use $Search instead of an embedded [Search] context.> > Grant Hulbert, V.P. EngineeringGrant, doesn't max=1 limit the number of found items to 1? I would like (andI'm assuming the original author of this note also wants) a single 'previous'before the found items and a single 'next' after. Max would still be somethingappropriate, like 30. Searching many records would produce somethingsomewhere in the middle like:previous 40Item 220Item 221Item 222...Item 260next 40The max=1 thing has me baffled.Pat McCormick
Associated Messages, from the most recent to the oldest:
Grant Hulbert wrote:> > >Yes, am trying to show a single link that says Show next 10 items> >...and one that says Show previous 10 items would be nice too! :-)> > 2.0.1 added support for the max=N parameter for
[shownext], so you don't have to do weird math things to fake it into showing only one link. Look in the
[shownext] online docs for things like max=1, position=begin, etc. The example in the docs does what you want, except you should add max=1 to limit the number of links. It works more easily if you use $Search instead of an embedded
[search] context.> > Grant Hulbert, V.P. EngineeringGrant, doesn't max=1 limit the number of found items to 1? I would like (andI'm assuming the original author of this note also wants) a single 'previous'before the found items and a single 'next' after. Max would still be somethingappropriate, like 30. Searching many records would produce somethingsomewhere in the middle like:previous 40Item 220Item 221Item 222...Item 260next 40The max=1 thing has me baffled.Pat McCormick
Pat McCormick
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
pictures / referrer etc. (1998)
Extended [ConvertChars] (1997)
Database Security (1998)
Webstar v (2001)
Cannot calculate prices (1997)
Multiple Merchant Accounts? (1997)
OS X and Emailer (2002)
Missing from Docs [folderName] (1997)
PCS Frames (1997)
taxTotal, grandTotal (1997)
PSC recommends what date format yr 2000??? (1997)
Another Large Database Questions (1997)
possible, WebCat2.0 and checkboxes-restated (1997)
5.0 feature request: (2001)
setting cookies then redirecting? (1998)
Where is eudora plugin? (1998)
Adding up line items. (2000)
What is WebDNA (1997)
New Command prefs ... (1997)