Accordeon (element)

From JRapid

(Redirected from UseAccordeon1)
Jump to: navigation, search

The "accordeon" attribute specifies a layout for grouping column items as accordeonitems into . To group items inside an accordeon you should check the "Use accordeon" checkbox. You will want to use an accordeon when the height of the column is too large, this happens when it contains many items.

Usage

<accordeon 
      (accordeonitem*)
/>

Example

  • Grouping two listings in an accordeon layout:
Accordeon example
<table cellpadding="0" cellspacing="0" id="table" width="100%">
    <tr>
        <td panelheight="100%" width="400px">
            <accordeon>
                 <accordeonitem title="Sellers">
                      <listing entity="Seller" name="sellersListing" title="Sellers"/>
                 </accordeonitem>
                 <accordeonitem title="Companies">
                       <listing entity="Company" name="companiesListing" title="Companies"/>
                 </accordeonitem>
            </accordeon>
        </td>
    </tr>
</table>

See also

Personal tools