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:

Time Remaining? (1998) test (2004) formatting a number (1999) WebDNA Solutions ... (1997) WC1.6 to WC2 date formatting (1997) Hiding Contexts (2000) [format 40s]text[/format] doesn't work (1997) Summing fields (1997) RE: Switching To NT (1999) processing .html pages (2001) How To question on setting up downloads (1997) Db design question (relational vs. flat?) (1998) [OT] Read and weep (2003) List dead? (2000) triggers.db (1999) same products but different (1998) Pager notification of completed orders (1998) 4.0x on production server (2000) WebCat2b13MacPlugIn - more [date] problems (1997) Re(2): Append command (1999)