Monica Posted June 1, 2004 Posted June 1, 2004 I would like results of search to display in a table format (with 3 records in a table row, then on to the next row). I'm not sure how to do that. I'm going for the 'catalogue" approach, where several records are displayed and a 'click' takes you to a 'details' page. Presently, the search results are listed in one column and its tedious to scroll through). Any advice?
Garry Claridge Posted June 1, 2004 Posted June 1, 2004 You can use some Javascript to achieve that: <table><tr> <script>i = 1 ; nCols = 3 ; [FMP-Record] if ((i % nCols) == 0) { document.write("<td>[FMP-Field:myfield]</td></tr><tr>") ; } else { document.write("<td>[FMP-Field:myfield]</td>") ; } ; i++ ;[/FMP-Record] </script></tr></table> Good Luck. Garry
Recommended Posts
This topic is 7550 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now