Re: How to get shownext to just shownext once

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13186
interpreted = N
texte = I did it. Here's some WebDNA to get started . . . It assumes the results are generated with a showpage and embedded search. You can change to suit your needs. You need to set [counter]=0 on your search page, plus Max (I used max=20,hence the reference to 20 in this WebDNA).The first table cell is the button to see previous 20, which is hidden if already on the first 20. The second table cell is the button to see the next 20, which is hidden if already on the last group. [hideif [counter]=0] [/hideif] [hideif [counter]>[math][numfound]-20[/math]] [/hideif]
all your search variables go here
all your search variables go here [math][numfound]-40[/math]][math][counter]+40[/math][/hideif][showif [counter]>[math][numfound]-40[/math]][math][numfound][/math][/showif]>
Good luck!Sandy Associated Messages, from the most recent to the oldest:

    
  1. Re: How to get shownext to just shownext once (Sandra L. Pitner <76501.3521@CompuServe.COM> 1997)
  2. How to get shownext to just shownext once (Rob Schmidt 1997)
I did it. Here's some WebDNA to get started . . . It assumes the results are generated with a showpage and embedded search. You can change to suit your needs. You need to set [counter]=0 on your search page, plus Max (I used max=20,hence the reference to 20 in this WebDNA).The first table cell is the button to see previous 20, which is hidden if already on the first 20. The second table cell is the button to see the next 20, which is hidden if already on the last group. [hideif [counter]=0] [/hideif] [hideif [counter]>[math][numfound]-20[/math]] [/hideif]
[cart]>all your search variables go here [math][counter]-20[/math] NAME=counter> [math][max]-20[/math]> [math][counter]-19[/math]-[counter]>
[cart]>all your search variables go here [math][counter]+20[/math] NAME=counter> [math][max]+20[/math]> [math][counter]+21[/math]-[hideif [counter]>[math][numfound]-40[/math]][math][counter]+40[/math][/hideif][showif [counter]>[math][numfound]-40[/math]][math][numfound][/math][/showif]>
Good luck!Sandy Sandra L. Pitner <76501.3521@CompuServe.COM>

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:

Verifying both name and password (was: New Problem) (1997) WebCommerce: Folder organization ? (1997) Weird error/limit - something amiss? (1997) Date format question (1998) Signal Raised Error (1997) What if SSL server down? MAC (1997) Page authenticating when not supposed to (2003) email program problem (1998) PCS Frames (1997) HELP WITH DATES (1997) WebDNA Solutions ... sorry! (1997) [WebDNA] Best practice re: password storage (2013) ANSWER to: CC Merchant suggestions?? (1997) [OT] Mystery Autoreply (2004) WebCatalog for Postcards ? (1997) Multiple catalog databases and showcart (1997) [BoldWords] WebCat.acgib15Mac (1997) Running 2 two WebCatalog.acgi's (1996) Sort Order on a page search (1997) Tracking System? (1997)