Jump to content

This topic is 7550 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.