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,> -ChrisI don't have any time it seems these days.. and I haven't followedthese threads really well, but it seems that if you know how manyresults you want placed in each 'quandrant', then you can dosome math to make it fit... something like:1. Know your numfound2. 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 maybewant 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 likewithin the head of the document.Donovan-- Donovan D. Brooke PH: 1 (608) 770-3822------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Associated Messages, from the most recent to the oldest:
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,> -ChrisI don't have any time it seems these days.. and I haven't followedthese threads really well, but it seems that if you know how manyresults you want placed in each 'quandrant', then you can dosome math to make it fit... something like:1. Know your numfound2. 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 maybewant to do something like:[search ....max=40]