My current setup involves:
I would like to enable the functionality of having multiple accordion sections open simultaneously upon page load. This means that when one section is opened, the others should not close. Is there a way to achieve this without the use of javascript?
(Please disregard the sub accordions - I only require a single layer)
HTML
<ul class="accordion">
<li id="one" class="files">
<a href="#one">My Files<span>495</span></a>
<ul class="sub-menu">
<li><a href="#one"><em>01</em>Dropbox<span>42</span></a></li>
<li><a href="#one"><em>02</em>Skydrive<span>87</span></a></li>
<li><a href="#one"><em>03</em>FTP Server<span>366</span></a></li>
<li><a href="#one"><em>01</em>Dropbox<span>42</span></a></li>
<li><a href="#one"><em>01</em>Dropbox<span>42</span></a></li>
</ul>
</li>
<li id="two" class="mail">
<a href="#two">Mail<span>26</span></a>
<ul class="sub-menu">
<li><a href="#two"><em>01</em>Hotmail<span>9</span></a></li>
<li><a href="#two"><em>02</em>Yahoo<span>14</span></a></li>
<li><a href="#two"><em>03</em>Gmail<span>3</span></a></li>
</ul>
</li>
<li id="three" class="cloud">
<a href="#three">Cloud<span>58</span></a>
<ul class="sub-menu">
<li><a href="#three"><em>01</em>Connect<span>12</span></a></li>
<li><a href="#three"><em>02</em>Profiles<span>19</span></a></li>
<li><a href="#three"><em>03</em>Options<span>27</span></a></li>
</ul>
</li>
<li id="four" class="sign">
<a href="#four">Sign Out</a>
<ul class="sub-menu">
<li><a href="#four"><em>01</em>Log Out</a></li>
<li><a href="#four"><em>02</em>Delete Account</a></li>
<li><a href="#four"><em>03</em>Freeze Account</a></li>
</ul>
</li>
</ul>
CSS
body {margin:50px;}
/* CSS Styles */
/* Add your CSS styles here */
I am trying to accomplish this without any java script. Do you have any suggestions on achieving this?