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 than the 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.-Dave At 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:

    
  1. Re: This message couldn't reach the list! (multi-column (Dave MacLeay 1998)
  2. Re: This message couldn't reach the list! (multi-column (Claude Gélinas 1998)
  3. Re: This message couldn't reach the list! (Kenneth Grome 1998)
  4. Re: This message couldn't reach the list! (multi-column (Dave MacLeay 1998)
  5. Re: This message couldn't reach the list! (multi-column (Dave MacLeay 1998)
  6. Re: This message couldn't reach the list! (multi-column (PCS Technical Support 1998)
  7. Re: This message couldn't reach the list! (Dave MacLeay 1998)
  8. Re: This message couldn't reach the list! (multi-column layout ofsearch results) (PCS Technical Support 1998)
  9. This message couldn't reach the list! (Claude Gélinas 1998)
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 than the 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.-Dave At 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:

Sample Tea Room Search Error (1997) WebCatalog for guestbook ? (1997) PLEASE REMOVE MY EMAIL ADDRESS (1997) How to append text after the sign & (1997) [Lookup] on secure page not returning anything (2000) Probably a very simple question? (1997) Need help with text area (1998) Reverse text string (2002) Reversed words (1997) Can WC remember people? (1998) Opinion: [input] should be called [output] ... (1997) Mac & Internet Explorer (2000) credit card authorization question (1997) WebCat2b13 Command Reference Doc error (1997) A Suggestion? (1998) Now when I send TeaRoom Order fields it does not post in Invoice. (1997) HTML Editors (1997) WebCat2 - Getting to the browser's username/password data (1997) Merging databases (1997) Bug in v5.1? (2003)