Re: Previous and Next Solution

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59138
interpreted = N
texte = I use this for all my sites: [math]ceil([end]/10)[/math] The whole code, for 10 at a time: [hideif [numfound]<11] [shownext position=begin][math]ceil([end]/10)[/math] | [/shownext] [shownext position=middle]>[math]ceil([end]/10)[/math][/shownext] [shownext position=end] | [math]ceil([end]/10)[/math][/shownext] [/hideif] It doesn't do the Previous and Next part though; I only use that for paging through items singly, as on a detail page. Terry >I am new to WebDNA and I am hoping someone might have a >simplesolution for this issue. What I'm trying >to accomplish in a ShowNext is, instead of it displaying >somethingalong the lines of: >Show Items 41-50 Show Items 51-60 Show Items 61-70 > >I'd like it to show links like this: >Previous 1 2 3 4 Next > >This is such a standard way of doing this that I must be >overlookingthe built-in solution. Can someone point me in the right >direction? > >I am using WebDNA 6 > >Thanks, >Kevin ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Previous and Next Solution ( Terry Wilson 2004)
  2. Re: Previous and Next Solution ( Donovan Brooke 2004)
  3. Re: Previous and Next Solution ( Gary Krockover 2004)
  4. Previous and Next Solution ( Kevin 2004)
I use this for all my sites: [math]ceil([end]/10)[/math] The whole code, for 10 at a time: [hideif [numfound]<11] [shownext position=begin][thisurl]?startat=[start]&sec=[url][sec][/url]">[math]ceil([end]/10)[/math] | [/shownext] [shownext position=middle]>[math]ceil([end]/10)[/math][/shownext] [shownext position=end] | [thisurl]?startat=[start]&sec=[url][sec][/url]">[math]ceil([end]/10)[/math][/shownext] [/hideif] It doesn't do the Previous and Next part though; I only use that for paging through items singly, as on a detail page. Terry >I am new to WebDNA and I am hoping someone might have a >simplesolution for this issue. What I'm trying >to accomplish in a ShowNext is, instead of it displaying >somethingalong the lines of: >Show Items 41-50 Show Items 51-60 Show Items 61-70 > >I'd like it to show links like this: >Previous 1 2 3 4 Next > >This is such a standard way of doing this that I must be >overlookingthe built-in solution. Can someone point me in the right >direction? > >I am using WebDNA 6 > >Thanks, >Kevin ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Terry Wilson

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:

UPS went bye bye (2006) PCS Customer submissions ? (1997) Error Lob.db records error message not name (1997) [WebDNA] UTF-8 encoding issues (2010) Error Lob.db records error message not name (1997) WebCat cannot handle compatible search parameters? (1997) sendmail spaces (1997) Errata: WCS Newbie question (1997) serial number generation (1997) Authenticate (1997) Summing fields (1997) Draft Manual, Tutorial, and more (1997) quantity minimum problem (1997) Writefile, Raw & include (2002) Initiating NewCart (1997) Help! WebCat2 bug (1997) WebCatalog Install Problem (2005) from outside to inside store direct frame template link? (2000) New Guestbook Source (1997) Pithy questions on webcommerce & siteedit (1997)