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:
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:
Logging purchases (1997)
[Shownext] (1997)
Problem with 2.1b3 (1997)
WebCat2 - many [carts] on one template page? (1997)
[isfile] ? (1997)
Some Questions (1997)
Nested search index (2000)
New Web Site Developers Database (1996)
For those of you not on the WebCatalog Beta... (1997)
writing db to disk (1997)
Re:listfiles-looking for slick solution (1997)
Mozilla/4. and Browser Info.txt (1997)
calculating ShipCost depending on weight (1997)
RE: Emailer Set Up (1997)
Opinion: [input] should be called [output] ... (1997)
Strange Question (2003)
Checkboxes (1998)
exclusive db lock with webcat-3 ? (2000)
Trouble with formula.db + more explanation (1997)
[sendmail] sending twice... (2003)