What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: The [shownext] limitations

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45783
interpreted = N
texte = Thanks, Donovan. I'll dust off my old [shownext] contraptions and check that out :) -DanOn Wed, 27 Nov 2002 16:46:53 -0600 Donovan wrote: > > >Dan Strong wrote: > >> Hmmm, maybe I was dropped on my head too much as a tot, but I have NEVER (not once) been able to >> get [shownext] to work correctly for me and I can't remember why anymore, but I abandoned it >>long >> ago and this is how I coded around it after deciding that I only needed 10 items per page: >> ------------------------------------------------ >> [search db=my.db&blah=blah&max=10&startat=[start]] >> [math show=f]pages=ceil([numfound]/[max])[/math] >> >> [founditems] >> >> [/founditems] >> [/search] >> >> [HideIf [pages]=1] >> Page 1 >> [/HideIf] >> [loop start=0&end=[pages]] >> [ShowIf [pages]>[math][index]+1[/math]] >> [math][index]+2[/math] >> [/ShowIf] >> [/loop] >> ------------------------------------------------ > >----------------------------------------------------- >[search db=my.db&blah=blah&max=10&startat=[start]] >[founditems] > >[/founditems] >[shownext position=begin&max=1]href=index.html?blah=blah&start=[start]>previous[/shownext] >[shownext position=end&max=1]More[/shownext] >[/search] >-------------------------------------------------------- > >Donovan > >> >> Being that it's based on 10, my gut feeling is that it could be tweaked pretty easily to >> accommodate different [max]'s, but I've never done it and if you try it and it blows up your >> machine, well, I'm really sorry about that. >> >> Happy Thanksgiving to those who celebrate it, and Happy Thursday to those who don't :) > >I'm hungry. :-) (sorry for the turkeys) > >> >> >> -Dan >> > >-- > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > ><><> Donovan Brooke <><>->� > ------------------------------------------------------------------------------------------------------------------------------------- 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: The [shownext] limitations (John Peacock 2002)
  2. Re: The [shownext] limitations (Frank Nordberg 2002)
  3. Re: The [shownext] limitations (Dan Strong 2002)
  4. Re: The [shownext] limitations (Donovan 2002)
  5. Re: The [shownext] limitations (Dan Strong 2002)
  6. Re: The [shownext] limitations (Donovan 2002)
  7. Re: The [shownext] limitations (Brian Burton 2002)
  8. Re: The [shownext] limitations (Brian Fries 2002)
  9. Re: The [shownext] limitations (Claude Gelinas 2002)
  10. Re: The [shownext] limitations (Brian Fries 2002)
  11. Re: The [shownext] limitations (John Peacock 2002)
  12. Re: The [shownext] limitations (Claude Gelinas 2002)
  13. Re: The [shownext] limitations (Brian Burton 2002)
  14. Re: The [shownext] limitations (Glenn Busbin 2002)
  15. Re: The [shownext] limitations (Frank Nordberg 2002)
  16. The [shownext] limitations (Claude Gelinas 2002)
Thanks, Donovan. I'll dust off my old [shownext] contraptions and check that out :) -DanOn Wed, 27 Nov 2002 16:46:53 -0600 Donovan wrote: > > >Dan Strong wrote: > >> Hmmm, maybe I was dropped on my head too much as a tot, but I have NEVER (not once) been able to >> get [shownext] to work correctly for me and I can't remember why anymore, but I abandoned it >>long >> ago and this is how I coded around it after deciding that I only needed 10 items per page: >> ------------------------------------------------ >> [search db=my.db&blah=blah&max=10&startat=[start]] >> [math show=f]pages=ceil([numfound]/[max])[/math] >> >> [founditems] >> >> [/founditems] >> [/search] >> >> [HideIf [pages]=1] >> Page 1 >> [/HideIf] >> [loop start=0&end=[pages]] >> [ShowIf [pages]>[math][index]+1[/math]] >> [math][index]+1[/math]1>[math][index]+2[/math] >> [/ShowIf] >> [/loop] >> ------------------------------------------------ > >----------------------------------------------------- >[search db=my.db&blah=blah&max=10&startat=[start]] >[founditems] > >[/founditems] >[shownext position=begin&max=1]href=index.html?blah=blah&start=[start]>previous[/shownext] >[shownext position=end&max=1]More[/shownext] >[/search] >-------------------------------------------------------- > >Donovan > >> >> Being that it's based on 10, my gut feeling is that it could be tweaked pretty easily to >> accommodate different [max]'s, but I've never done it and if you try it and it blows up your >> machine, well, I'm really sorry about that. >> >> Happy Thanksgiving to those who celebrate it, and Happy Thursday to those who don't :) > >I'm hungry. :-) (sorry for the turkeys) > >> >> >> -Dan >> > >-- > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > ><><> Donovan Brooke <><>->� > ------------------------------------------------------------------------------------------------------------------------------------- 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/ Dan Strong

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:

[url] link (1998) PSC recommends what date format yr 2000??? (1997) WebMerchant? (1998) Is using [URL] recommended even on an email address? (1999) HELP WITH DATES (1997) Email notification to one of multiple vendors ? (1997) Re:Merging databases (1997) Re[2]: php vs WebCatalog (2000) [WebDNA] 301 redirect (2016) WebDNA 5.0 Questions (2003) WebMerchant Only reads 1.4 order files error (1997) [WebDNA] Install LIghttpd and WebDNA v7.0 on Ubuntu 10.10 (2011) system crashes, event log (1997) returning the missing value (1997) Answer: WebDelivery downloads alias, not original ? (1997) WebCat2 beta 11 - new prefs ... (1997) [WebDNA] Populate Bootstrap Modal with AJAX WebDNA (2015) Math with Time (1997) Using files in an Email broadcast (1999) WebCatalog2 Feature Feedback (1996)