August 16, 200421 yr Hi When displaying the results of a search online using Lasso I want the results to appear three across and not singular with one record under another. The code I am currently using is the standard: [Records] [Field: Name] [Field: Thumbnail Image of Record] [/Records] If I have 75 records it will therefore return 75 rows of results. What I want is 25 rows of results with 3 results in each row. How do I set the html page/table to effect this flow across 3 columns? Any advise will be greatly appreciated!
August 16, 200421 yr If you were using just CDML you would do this with some Javascript. However, I assume that Lasso may have some "tools" which enable you to this. (I don't know any Lasso.) Does Lasso allow you to use variables? If so, can you increment them? For example, the logic would be like this: <tr><td>Name</td> [recs = 0] [Records] [if: (recs mod 3) eq 0] </tr><tr><td>[Field: Name] [Field: Thumbnail Image of Record]</td> [else] <td>[Field: Name] [Field: Thumbnail Image of Record]</td> [/if] [recs = recs + 1] [/Records] Good Luck. Garry
Create an account or sign in to comment