Re: This message couldn't reach the list!
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21114
interpreted = N
texte = I've used the following code for results flowing in two columns: [Search ...]
[FoundItems] [SomeField] [ShowIf [index]=[format .0f][math]([NumFound]/2)+.49[/math][/format]] | [/ShowIf] [/FoundItems] |
[/Search]Note: the +.49 insures that the left column will always be longer thanthe right column.For a 3-column flowing setup, you'd probably want to do something like this: [Search ...]
[FoundItems] [SomeField] [ShowIf [index]=[format .0f][math]([NumFound]/3)+.32[/math][/format]] | [/ShowIf] [ShowIf [index]=[format .0f][math]([NumFound]*2/3)+.32[/math][/format]] | [/ShowIf] [/FoundItems] |
[/Search]I haven't done much testing of this, but it should do what you're looking for.-DaveAt 12:14 PM 11/18/98, Claude G#233#linas wrote:>Maybe I missed some of the best tips to do this but has anyone come up with>a good way to flow the results of a WebCatalog query in this manner (a code>sample would be a great help):>>EXAMPLE:>Here are your matching results:>City 1 City 4 City 7>City 2 City 5 City 8>City 3 City 6>o--------------- Dave MacLeay --+o----------- Digital Frontier --+o--------------- 802.253.8612 --+o--- dave@digitalfrontier.com --+
Associated Messages, from the most recent to the oldest:
I've used the following code for results flowing in two columns: [Search ...]
[founditems] [SomeField] [ShowIf [index]=[format .0f][math]([NumFound]/2)+.49[/math][/format]] | [/ShowIf] [/FoundItems] |
[/Search]Note: the +.49 insures that the left column will always be longer thanthe right column.For a 3-column flowing setup, you'd probably want to do something like this: [Search ...]
[founditems] [SomeField] [ShowIf [index]=[format .0f][math]([NumFound]/3)+.32[/math][/format]] | [/ShowIf] [ShowIf [index]=[format .0f][math]([NumFound]*2/3)+.32[/math][/format]] | [/ShowIf] [/FoundItems] |
[/Search]I haven't done much testing of this, but it should do what you're looking for.-DaveAt 12:14 PM 11/18/98, Claude G#233#linas wrote:>Maybe I missed some of the best tips to do this but has anyone come up with>a good way to flow the results of a WebCatalog query in this manner (a code>sample would be a great help):>>EXAMPLE:>Here are your matching results:>City 1 City 4 City 7>City 2 City 5 City 8>City 3 City 6>o--------------- Dave MacLeay --+o----------- Digital Frontier --+o--------------- 802.253.8612 --+o--- dave@digitalfrontier.com --+
Dave MacLeay
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:
WebDNA :: Product Reviews (2006)
RE: protect tag on NT (1997)
# fields limited? (1997)
NetSplat and WebCat2 (1997)
WCS Newbie question (1997)
Showif, Hideif reverse logic ? (1997)
WebCat2b12 - nesting [tags] (1997)
Sendmail (1999)
Nested tags count question (1997)
WebCatalog Hosting (1996)
Encrypt Users.db problem (1998)
This message couldn't reach the list! (multi-column (1998)
quit command on NT (1997)
Some Questions (1997)
Setting up shop (1997)
WCS Newbie question (1997)
Nested tags count question (1997)
WebDNA on OS X Tiger (2006)
Sku numbers (1997)
WCf2 and nested tags (1997)