How to use [shownext] to create "Next | Previous" search results the same way Google does...
numero = 303[text]garbage=[text]navlink=[/text][hideif [startat]=1][text]navlink=[navlink]<a href="/index.html?cart=[cart]&startat=[math][startat]-20[/math]&[carryforwardvars]">«</a> [/text][/hideif] [math show=f]__loops=ceil([numfound]/20)[/math][math show=f]__startnum=0[/math][math show=f]loopcount=0[/math][math show=f]whatloopamion=ceil([startat]/20)[/math][showif [whatloopamion]<6][math show=f]prevloop=1[/math][/showif][hideif [whatloopamion]<6][math show=f]prevloop=[whatloopamion]-5[/math][showif [prevloop]<1][math show=f]prevloop=1[/math][/showif][/hideif][loop start=1&end=[__loops]][showif [index]=[whatloopamion]][text]navlink=[navlink]<b>[index]</b> [/text][/showif][hideif [index]=[whatloopamion]][showif [prevloop]<[whatloopamion]][showif [index]=[prevloop]][math show=f]__startnum=[__startnum]+1[/math][hideif [startat]=[__startnum]][text]navlink=[navlink]<a href="/index.html?cart=[cart]&startat=[__startnum]&[carryforwardvars]">[index]</a> [/text][/hideif][math show=f]loopcount=[loopcount]+1[/math][math show=f]prevloop=[prevloop]+1[/math][/showif] [/showif] [showif [index]>[whatloopamion]][math show=f]__startnum=[__startnum]+1[/math][hideif [startat]=[__startnum]][text]navlink=[navlink]<a href="/index.html?cart=[cart]&startat=[__startnum]&[carryforwardvars]">[index]</a> [/text][/hideif][math show=f]loopcount=[loopcount]+1[/math][/showif] [/hideif][math show=f]__startnum=[index]*20[/math][showif [loopcount]=10][break][/showif][/loop][hideif [math][numfound]-[startat][/math]<20][text]navlink=[navlink]<a href="/index.html?cart=[cart]&startat=[math][startat]+20[/math]&[carryforwardvars]">»</a> <a href="/index.html?cart=[cart]&startat=[math][startat]+20[/math]&[carryforwardvars]"><img src="/images/next.gif" align="absmiddle" border="0"></a>[/text][/hideif]end garbage[/text] [hideif [numfound]=0]<div style="text-align:right; padding:2 0 2 0;">page: [navlink]</div>[/hideif]This example is active at http://tinyurl.com/yk6lf9p
[text]garbage=Matthew Perosi
[text]navlink=[/text]
[hideif [startat]=1]
[text]navlink=[navlink]<a href="/index.html?cart=[cart]&startat=[math][startat]-20[/math]&[carryforwardvars]">«</a> [/text]
[/hideif]
[math show=f]__loops=ceil([numfound]/20)[/math][math show=f]__startnum=0[/math][math show=f]loopcount=0[/math]
[math show=f]whatloopamion=ceil([startat]/20)[/math]
[showif [whatloopamion]<6]
[math show=f]prevloop=1[/math]
[/showif]
[hideif [whatloopamion]<6]
[math show=f]prevloop=[whatloopamion]-5[/math]
[showif [prevloop]<1][math show=f]prevloop=1[/math][/showif]
[/hideif]
[loop start=1&end=[__loops]]
[showif [index]=[whatloopamion]][text]navlink=[navlink]<b>[index]</b> [/text][/showif]
[hideif [index]=[whatloopamion]]
[showif [prevloop]<[whatloopamion]]
[showif [index]=[prevloop]]
[math show=f]__startnum=[__startnum]+1[/math]
[hideif [startat]=[__startnum]][text]navlink=[navlink]<a href="/index.html?cart=[cart]&startat=[__startnum]&[carryforwardvars]">[index]</a> [/text][/hideif]
[math show=f]loopcount=[loopcount]+1[/math]
[math show=f]prevloop=[prevloop]+1[/math]
[/showif] [/showif] [showif [index]>[whatloopamion]]
[math show=f]__startnum=[__startnum]+1[/math]
[hideif [startat]=[__startnum]][text]navlink=[navlink]<a href="/index.html?cart=[cart]&startat=[__startnum]&[carryforwardvars]">[index]</a> [/text][/hideif]
[math show=f]loopcount=[loopcount]+1[/math]
[/showif]
[/hideif]
[math show=f]__startnum=[index]*20[/math]
[showif [loopcount]=10][break][/showif]
[/loop]
[hideif [math][numfound]-[startat][/math]<20]
[text]navlink=[navlink]<a href="/index.html?cart=[cart]&startat=[math][startat]+20[/math]&[carryforwardvars]">»</a>
<a href="/index.html?cart=[cart]&startat=[math][startat]+20[/math]&[carryforwardvars]"><img src="/images/next.gif" align="absmiddle" border="0"></a>[/text]
[/hideif]
end garbage[/text]
[hideif [numfound]=0]
<div style="text-align:right; padding:2 0 2 0;">page: [navlink]</div>
[/hideif]
DOWNLOAD WEBDNA NOW!
A compilation of some user's questions...
WebDNA LibrariesA list of available libraries for WebDNA...
[biotype]BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...
WebDNA ModulesA list of the currently available modules...
Download WebDNA ApplicationsWebDNA applications...
Tips and TricksA list of user-submitted tips ...
How to use [shownext] to create "Next | Previous" search results the same way Google does...
an example of application for [shownext]How to use [shownext] to create "Next | Previous" search results the same way Google does...
a [shownext] exampleHow to use [shownext] to create "Next | Previous" search results the same way Google does...
alternative to [shownext]This will show your next links in the format of Page 1 | 2 | 3 etc and can be used even when the page isn't a results page from a [search] command...
How do I get the content of a returned page?...
How do I make tcpconnect send a username and password like the browser does?so I can access a page that normally needs to be logged into via the browser's authentication dialog? In other words...