Re: [WebDNA] Dynamic vertical columns

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 100622
interpreted = N
texte = Yes, I thought about the WebDNA table route ... I have never used WebDNA array. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 02/09/2008, at 5:36 PM, Toby Cox wrote: > Stuart, > > > Think you have 2 options here > > 1. Stick founditems in an array. Then do > > [search ...] > [text]cutOffPoint=[math]floor([numfound]/3)[/math][/text] > [founditems] > [showif [index]<[cutOffPoint]] > > [interpret][myarray(1,[math][index][/math])][/interpret] > [interpret][myarray(1,[math][index]+[cutOffPoint][/math])][/ > interpret] > [interpret][myarray(1,[math][index]+(2*[cutOffPoint])[/math])][/ > interpret] > > [/showif] > [/founditems] > [/search] > > > > or, append a webdna table with your founditem results and then do a > lookup for each subsequent greater index (columns 2 & 3) > > > However, easier still would be to control your results with > stylesheets to make them look like a table.... > > > Good luck! > > > > TC > > > On 2 Sep 2008, at 07:56, Stuart Tremain wrote: > >> Palle >> >> I am trying to create a flow of 3 columns: >> >> 1 11 21 >> 2 12 22 >> 3 13 23 >> 4 14 24 >> 5 15 25 >> 6 16 26 >> 7 17 27 >> 8 18 28 >> 9 19 29 >> 10 20 30 >> >> >> Not across: >> >> 1 2 3 >> 4 5 6 >> 7 8 9 >> >> etc >> >> >> >> >> >> Regards >> >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >> >> >> >> >> On 02/09/2008, at 4:38 PM, Palle Bo Nielsen wrote: >> >>> take a look at this etry >>> >>> http://dev.webdna.us/TalkListArchive/DetailResults.tpl?command=search&db=webdna-talk.db&eqIDdata=58531&max=1&words=%5C >>> >>> Palle >>> >>> >>> On 02/09/2008, at 05.21, Dan Strong wrote: >>> >>>> Does the solution need to be tabular? If not, CSS could handle >>>> this fairly well. Granted, tables are much easier for this sort >>>> of thing, but CSS would work. -Dan >>>> >>>> >>>> >>>> On Mon, 1 Sep 2008 09:41:54 +1000 >>>> Stuart Tremain wrote: >>>>> Start of Spring here in Aus today - at last :) >>>>> I know how to build dynamic tables where the results are posted >>>>> horizontally. Does anyone have a trick for building the columns >>>>> vertically? >>>>> From this: >>>>> HEAD01 | HEAD02 | HEAD03 | HEAD04 >>>>> 01 | 02 | 03 | 04 >>>>> 05 | 06 | 07 | 08 >>>>> to this: >>>>> HEAD01 | HEAD02 | HEAD03 | HEAD04 >>>>> 01 | 03 | 05 | 07 >>>>> 02 | 04 | 06 | 08 >>>>> Regards >>>>> Stuart Tremain >>>>> IDFK Web Developments >>>>> AUSTRALIA >>>>> webdna@idfk.com.au >>>>> --------------------------------------------------------- >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list . >>>>> To unsubscribe, E-mail to: >>>> >>>> --------------------------------------------------------- >>>> This message is sent to you because you are subscribed to >>>> the mailing list . >>>> To unsubscribe, E-mail to: >>>> >>> >>> Venlig hilsen >>> >>> Palle Bo Nielsen >>> (PowerPalle) >>> >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Dynamic vertical columns ("PLANET DJ (Chris W.)" 2008)
  2. Re: [WebDNA] Dynamic vertical columns (Stuart Tremain 2008)
  3. Re: [WebDNA] Dynamic vertical columns ("PLANET DJ (Chris W.)" 2008)
  4. Re: [WebDNA] Dynamic vertical columns (Stuart Tremain 2008)
  5. re: [WebDNA] Dynamic vertical columns ("PLANET DJ (Chris W.)" 2008)
  6. Re: [WebDNA] Dynamic vertical columns (Terry Wilson 2008)
  7. Re: [WebDNA] Dynamic vertical columns (Patrick McCormick 2008)
  8. Re: [WebDNA] Dynamic vertical columns (Stuart Tremain 2008)
  9. Re: [WebDNA] Dynamic vertical columns (Terry Wilson 2008)
  10. Re: [WebDNA] Dynamic vertical columns (Terry Wilson 2008)
  11. Re: [WebDNA] Dynamic vertical columns (Stuart Tremain 2008)
  12. Re: [WebDNA] Dynamic vertical columns (Stuart Tremain 2008)
  13. Re: [WebDNA] Dynamic vertical columns (Stuart Tremain 2008)
  14. Re: [WebDNA] Dynamic vertical columns (Stuart Tremain 2008)
  15. Re: [WebDNA] Dynamic vertical columns (Toby Cox 2008)
  16. Re: [WebDNA] Dynamic vertical columns (Paul Willis 2008)
  17. Re: [WebDNA] Dynamic vertical columns (Palle Bo Nielsen 2008)
  18. Re: [WebDNA] Dynamic vertical columns (Stuart Tremain 2008)
  19. Re: [WebDNA] Dynamic vertical columns (Palle Bo Nielsen 2008)
  20. Re: [WebDNA] Dynamic vertical columns (Stuart Tremain 2008)
  21. Re: [WebDNA] Dynamic vertical columns ("Dan Strong" 2008)
  22. RE: [WebDNA] Dynamic vertical columns ("Will Starck" 2008)
  23. [WebDNA] Dynamic vertical columns (Stuart Tremain 2008)
Yes, I thought about the WebDNA table route ... I have never used WebDNA array. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 02/09/2008, at 5:36 PM, Toby Cox wrote: > Stuart, > > > Think you have 2 options here > > 1. Stick founditems in an array. Then do > > [search ...] > [text]cutOffPoint=[math]floor([numfound]/3)[/math][/text] > [founditems] > [showif [index]<[cutOffPoint]] > > [interpret][myarray(1,[math][index][/math])][/interpret] > [interpret][myarray(1,[math][index]+[cutOffPoint][/math])][/ > interpret] > [interpret][myarray(1,[math][index]+(2*[cutOffPoint])[/math])][/ > interpret] > > [/showif] > [/founditems] > [/search] > > > > or, append a webdna table with your founditem results and then do a > lookup for each subsequent greater index (columns 2 & 3) > > > However, easier still would be to control your results with > stylesheets to make them look like a table.... > > > Good luck! > > > > TC > > > On 2 Sep 2008, at 07:56, Stuart Tremain wrote: > >> Palle >> >> I am trying to create a flow of 3 columns: >> >> 1 11 21 >> 2 12 22 >> 3 13 23 >> 4 14 24 >> 5 15 25 >> 6 16 26 >> 7 17 27 >> 8 18 28 >> 9 19 29 >> 10 20 30 >> >> >> Not across: >> >> 1 2 3 >> 4 5 6 >> 7 8 9 >> >> etc >> >> >> >> >> >> Regards >> >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >> >> >> >> >> On 02/09/2008, at 4:38 PM, Palle Bo Nielsen wrote: >> >>> take a look at this etry >>> >>> http://dev.webdna.us/TalkListArchive/DetailResults.tpl?command=search&db=webdna-talk.db&eqIDdata=58531&max=1&words=%5C >>> >>> Palle >>> >>> >>> On 02/09/2008, at 05.21, Dan Strong wrote: >>> >>>> Does the solution need to be tabular? If not, CSS could handle >>>> this fairly well. Granted, tables are much easier for this sort >>>> of thing, but CSS would work. -Dan >>>> >>>> >>>> >>>> On Mon, 1 Sep 2008 09:41:54 +1000 >>>> Stuart Tremain wrote: >>>>> Start of Spring here in Aus today - at last :) >>>>> I know how to build dynamic tables where the results are posted >>>>> horizontally. Does anyone have a trick for building the columns >>>>> vertically? >>>>> From this: >>>>> HEAD01 | HEAD02 | HEAD03 | HEAD04 >>>>> 01 | 02 | 03 | 04 >>>>> 05 | 06 | 07 | 08 >>>>> to this: >>>>> HEAD01 | HEAD02 | HEAD03 | HEAD04 >>>>> 01 | 03 | 05 | 07 >>>>> 02 | 04 | 06 | 08 >>>>> Regards >>>>> Stuart Tremain >>>>> IDFK Web Developments >>>>> AUSTRALIA >>>>> webdna@idfk.com.au >>>>> --------------------------------------------------------- >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list . >>>>> To unsubscribe, E-mail to: >>>> >>>> --------------------------------------------------------- >>>> This message is sent to you because you are subscribed to >>>> the mailing list . >>>> To unsubscribe, E-mail to: >>>> >>> >>> Venlig hilsen >>> >>> Palle Bo Nielsen >>> (PowerPalle) >>> >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >> >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: Stuart Tremain

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:

Q: writefile and uploads. (1998) writing db to disk (1997) problems with 2 tags shakur (1997) Email within tmpl ? (1997) Nested tags count question (1997) SMSI -- a [notfound] context? (2002) Running _every_ page through WebCat ? (1997) founditem align (1998) New WebCatalog site (1997) My slower response (1997) Images in the page without using separate image files ... (2003) OK, here goes... (1997) TeaRoom Order fields email account remain empty even though thewy are filled. (1997) Re:HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) ReadDateFormat bug in 3.x (1998) Searching (2004) Help name our technology! (1997) Variables from a long text string (2000) Upgrade on MacOSX 3.05 to 3.08 (2000) [OT] Who's got a cool link (2002)