Re: Single Link browsing

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14218
interpreted = N
texte = >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:

    
  1. Re: Single Link browsing (Dale Stokdyk 1997)
  2. Re: Single Link browsing (Grant Hulbert 1997)
  3. Re: Single Link browsing (Pat McCormick 1997)
  4. Re: Single Link browsing (Grant Hulbert 1997)
  5. Re: Single Link browsing (Dale Stokdyk 1997)
  6. Re: Single Link browsing (Kenneth Grome 1997)
  7. Re: Single Link browsing (Dale Stokdyk 1997)
  8. Re: Single Link browsing (Grant Hulbert 1997)
  9. Re: Single Link browsing (Kenneth Grome 1997)
  10. Single Link browsing (jam 1997)
>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 Grant Hulbert

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) Fwd: Problem with order (1998) WebCat, switching from NT to OSX (2003) question: webmerchant connection (1997) Summary layout (1997) Problems with [Applescript] (1997) emailer (1997) Virtual hosting and webcatNT (1997) Quick poll (2003) More to Expire (1998) WebCat & WebTen (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) Showif for mulitple variations (1997) Mauthcapture vs mauthonly (2002) RE: OK, here goes... (1997) Multiple Merchant Accounts? (1997) [OT] Connect to MySQL (2004) Forcing a NEWCART (1997) "The event log file is corrupt" (2003) Re:trouble (1997)