Re: Kaaaaahhhhhhhnnnnnnn!

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14321
interpreted = N
texte = >On 10/31/97 1:02 PM Christer Olsson wrote > >>Yes. In the 2.0.1 docs. Just like the [SHOWNEXT max=n] that will solve your >>problem. > >Try it. Or show me a page where you use it. I have tried this command. > >then ken >>Look, if you will post your hyperlink searches and your *entire* >>results templates I will *try* write your [shownext] stuff for you -- >>later this afternoon -- unless you solve these problems on your own > >I would prefer to get a better understanding of how things work, rather >than have someone write the answer for me. Not to say I don't want your >help, and yes I can learn from your coding. I just thought that someone >would have done something I could already look at, or am I a pioneer >here, an astronaut into the unknown, a jack-o-latern in the isle of the >damned. I usually can figger sumpin out if I can hack at it long enough. >What I find hard to believe is that noone has done this. I have never tried sandra's code but here is a post back from AugustDate: 26 Aug 97 10:39:06 EDT From: Sandra L. Pitner <76501.3521@CompuServe.COM> Subject: Re: How to get shownext to just shownext once To: INTERNET:WebDNA-Talk@smithmicro.com Precedence: Bulk Reply-To: WebDNA-Talk@smithmicro.comI 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=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== Associated Messages, from the most recent to the oldest:

    
  1. Re: Kaaaaahhhhhhhnnnnnnn! (Chris Gursche 1997)
  2. Re: Kaaaaahhhhhhhnnnnnnn! (bob 1997)
  3. Re: Kaaaaahhhhhhhnnnnnnn! (grichter@panavise.com (Gary Richter) 1997)
  4. Re: Kaaaaahhhhhhhnnnnnnn! (bob 1997)
  5. Re: Kaaaaahhhhhhhnnnnnnn! (Kenneth Grome 1997)
  6. Re: Kaaaaahhhhhhhnnnnnnn! (Christer Olsson 1997)
  7. Re: Kaaaaahhhhhhhnnnnnnn! (Christer Olsson 1997)
  8. Re: Kaaaaahhhhhhhnnnnnnn! (bob 1997)
  9. Re: Kaaaaahhhhhhhnnnnnnn! (Grant Hulbert 1997)
  10. Re: Kaaaaahhhhhhhnnnnnnn! (Marty Schmid 1997)
  11. Kaaaaahhhhhhhnnnnnnn! (bob 1997)
>On 10/31/97 1:02 PM Christer Olsson wrote > >>Yes. In the 2.0.1 docs. Just like the [SHOWNEXT max=n] that will solve your >>problem. > >Try it. Or show me a page where you use it. I have tried this command. > >then ken >>Look, if you will post your hyperlink searches and your *entire* >>results templates I will *try* write your [shownext] stuff for you -- >>later this afternoon -- unless you solve these problems on your own > >I would prefer to get a better understanding of how things work, rather >than have someone write the answer for me. Not to say I don't want your >help, and yes I can learn from your coding. I just thought that someone >would have done something I could already look at, or am I a pioneer >here, an astronaut into the unknown, a jack-o-latern in the isle of the >damned. I usually can figger sumpin out if I can hack at it long enough. >What I find hard to believe is that noone has done this. I have never tried sandra's code but here is a post back from AugustDate: 26 Aug 97 10:39:06 EDT From: Sandra L. Pitner <76501.3521@CompuServe.COM> Subject: Re: How to get shownext to just shownext once To: INTERNET:WebDNA-Talk@smithmicro.com Precedence: Bulk Reply-To: WebDNA-Talk@smithmicro.comI 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=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== grichter@panavise.com (Gary Richter)

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:

Re:How to Display text in empty fields (1997) possible, WebCat2.0 and checkboxes-restated (1997) Credit card processing - UK (1997) Who is doing sign-ups-got it (1998) problem with applets embedded in tpl files (1997) quantity minimum problem (1997) X etc.... (1999) Not really WebCat (1997) no global [username] or [password] displayed ... (1997) Running _every_ page through WebCat ? (1997) Under Score (1999) ShowIf variables (1997) Resume Catalog ? (1997) It gets better... posting problems + Webcat 3.0.7 available - did anyone know? (2000) Re:What file? (1997) cart info (1998) [WebDNA] Clean URLS job - will pay (2010) Logging purchases (1997) no [search] with NT (1997) WebCatalog security on NT (2000)