I have a definition list as follows:
<dl>
<dt>Status</dt>
<dd>Blue</dd>
<dt>Last Updated</dt>
<dd>16/05/2013</dd>
<dt>Overview/summary:</dt>
<dd>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis amimus lacus sed imperdiet consequat, orci nisl pretium nunc, sed lobortis ligula neque. Quisque vitae sem dolor scelerisque urna. Integer placerat scelerisque ipsum. Aliquam imperdiet interdum magna eget vulputate. Donec interdum tincidunt tortor, eget condimentum magna suscipit et. Curabitur bibendum elit sit amet nisi pharetra vitae venenatis metus</dd>
<dt>Past Dates:</dt>
<dd>16/05/2013, 15/05/2013, 14/05/2013</dd>
<dt>Future Dates:</dt>
<dd>United Kingdom</dd>
</dl>
I need to use a show/hide type effect to show and hide the second half of the list.
ie. from 'Overview/summary' downwards.
I would like to wrap the collapsible information in a div like this:
<dl>
<dt>Status</dt>
<dd>Blue</dd>
<dt>Last Updated</dt>
<dd>16/05/2013</dd>
<div class="js-collapsible">
<dt>Overview/summary:</dt>
<dd>Lorem ipsum dolor sit amet</dd>
<dt>Past Dates:</dt>
<dd>16/05/2013, 15/05/2013, 14/05/2013</dd>
<dt>Future Dates:</dt>
<dd>United Kingdom</dd>
</div>
</dl>
but does this make sense semantically? I feel this approach is compromising the structure.
Any suggestions would be great :)
Thanks