Re: [WebDNA] Styling search results [using css]

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102390
interpreted = N
texte = Chris Wilkinson wrote: > So, would I do 4 separate searches? [show #1, show #2, show #3, show#4] I > know I could make the css work, but I don't know how to limit the founditems > to only show 1,2,3 or 4. > > Thanks, > -Chris I don't have any time it seems these days.. and I haven't followed these threads really well, but it seems that if you know how many results you want placed in each 'quandrant', then you can do some math to make it fit... something like: 1. Know your numfound 2. Know how many results will be displayed in total by knowing how many results will fit in each quadrant.. So, lets say you want 10 results in each quadrant... You'd maybe want to do something like: [search ....max=40]
[founditems] [showif [index]\10]
[/showif] [/founditems] [shownext..] Div's 1 through 4 could be positioned via CSS however you like within the head of the document. Donovan -- Donovan D. Brooke PH: 1 (608) 770-3822 ------------------------------------------------ VP WebDNA Software Corporation 16192 Coastal Highway Lewes, DE 19958 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Styling search results [using css] (Chris Wilkinson 2009)
  2. RE: [WebDNA] Styling search results [using css] ("Olin Lagon" 2009)
  3. Re: [WebDNA] Styling search results [using css] (Donovan Brooke 2009)
  4. Re: [WebDNA] Styling search results [using css] (Donovan Brooke 2009)
  5. Re: [WebDNA] Styling search results [using css] (William DeVaul 2009)
  6. Re: [WebDNA] Styling search results [using css] ("Dan Strong" 2009)
  7. Re: [WebDNA] Styling search results [using css] ("Dan Strong" 2009)
  8. Re: [WebDNA] Styling search results [using css] (Chris Wilkinson 2009)
  9. Re: [WebDNA] Styling search results [using css] (Chris Wilkinson 2009)
  10. Re: [WebDNA] Styling search results [using css] (William DeVaul 2009)
  11. Re: [WebDNA] Styling search results [using css] ("Dan Strong" 2009)
  12. Re: [WebDNA] Styling search results [using css] ("Dan Strong" 2009)
  13. Re: [WebDNA] Styling search results [using css] ("cw@e-wave.net" 2009)
Chris Wilkinson wrote: > So, would I do 4 separate searches? [show #1, show #2, show #3, show#4] I > know I could make the css work, but I don't know how to limit the founditems > to only show 1,2,3 or 4. > > Thanks, > -Chris I don't have any time it seems these days.. and I haven't followed these threads really well, but it seems that if you know how many results you want placed in each 'quandrant', then you can do some math to make it fit... something like: 1. Know your numfound 2. Know how many results will be displayed in total by knowing how many results will fit in each quadrant.. So, lets say you want 10 results in each quadrant... You'd maybe want to do something like: [search ....max=40]
[founditems] [showif [index]\10]
[math]([index]/10)+1[/math]"> [/showif] [/founditems] [shownext..] Div's 1 through 4 could be positioned via CSS however you like within the head of the document. Donovan -- Donovan D. Brooke PH: 1 (608) 770-3822 ------------------------------------------------ VP WebDNA Software Corporation 16192 Coastal Highway Lewes, DE 19958 Donovan Brooke

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:

AccountAuthorizer doesn't seem to work (1997) Ken Grome (2006) Mac Scheduling (1998) RE: Help name our technology! (1997) Slightly [OT] Trying to get clients SQL system going (2005) Database Options (1997) Dummy Credit Card Number for debug? (1997) Emailer Problem (1998) Error: this shopping cart has already been submittedm (2004) A Global Variable (1997) [WebDNA] Premature end of script headers: (2013) [OT] DNS Problems (2004) form posts expiring instantly... why? (2000) sorting dates (1999) Sort Order on a page search (1997) format and math on the fly (1998) Some Advise needed (1997) Limiting user access to .tmpl files (1997) Claris HomePage messes up the code (1997) Re:Copyright ? (1997)