Re: Single Link browsing
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14262
interpreted = N
texte = Grant, Ken, etc...Thanks for the info re: ShowNext. Since I had your word for it, I knewit must work, so I went back to took another shot at it. Don't know whatI did wrong the first time, but the second attempt appears to be acharm. This works for me, anyhow! Has nice advantage of not showing theNext or Previous wording and GIF when doesn't apply...
[ShowNext position=begin&max=1] Previous[start]-[end] [/ShowNext] | [foundItems][/foundItems]
[ShowNext position=end&max=1] Next[start]-[end][/ShowNext] | I haven't tested on different browsers yet, but is working fine on NN4.0. Regards,Daledstokdyk@dvs.mv.com 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. Engineering | ==== eCommerce for the Rest of> Us ====> Pacific Coast Software | WebCatalog, WebMerchant> 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster> San Diego, CA 92128 | SiteGuard> 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
Grant, Ken, etc...Thanks for the info re: ShowNext. Since I had your word for it, I knewit must work, so I went back to took another shot at it. Don't know whatI did wrong the first time, but the second attempt appears to be acharm. This works for me, anyhow! Has nice advantage of not showing theNext or Previous wording and GIF when doesn't apply...
[ShowNext position=begin&max=1] Previous[start]-[end] [/ShowNext] | [founditems][/foundItems]
[ShowNext position=end&max=1] Next[start]-[end][/ShowNext] | I haven't tested on different browsers yet, but is working fine on NN4.0. Regards,Daledstokdyk@dvs.mv.com 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. Engineering | ==== eCommerce for the Rest of> Us ====> Pacific Coast Software | WebCatalog, WebMerchant> 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster> San Diego, CA 92128 | SiteGuard> 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Dale Stokdyk
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:
[SQL] on MacOs to SQL Server ... HOW TO? (2000)
[WebDNA] Sublime Text or Textmate (2013)
oops private message leaked into talk list (1997)
Re:Emailer and encryption (1997)
Setting up shop (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Not really WebCat - need HTML Grider (1997)
[Sum] function? (1997)
Generating and appending SKU to a db automatically (1998)
Almost a there but..bye bye NetCloak (1997)
BR (1997)
bug in [SendMail] (1997)
searchable list archive (1997)
Problem (1997)
Ghostly cached webpage (2000)
Cyberstudio and WebDNA (1997)
OT - asp snippet similar to [!][/!] (2003)
NetSplat and WebCat2 (1997)
Nesting format tags (1997)
Frames and WebCat (1997)