I am working on a project, and we are using twitter bootstrap. There is a sidebar that i have set up to have a collapse button that is hidden on desktop and visible on any other smaller resolution. I would like to set it so that the collapse is open in desktop and closed any other time. The code looks like this:
<p class="lead visible-desktop"><i class="icon-search"></i> Quick Search</p>
<button type="button" class="btn hidden-desktop" data-toggle="collapse" data-target="#quicksearch"><i class="icon-search"></i> Quick Search</button>
<div id="quicksearch" class="in">
some content here...
</div>
Can someone put me in the right direction?