I have a navigation menu that is a listview inside a collapsible inside a popup. On my page content, I also have regular links open the same page as in the menu. I want some of these links to open in panels. This works fine for the page content, the panels open up ok.
But when you use the link in the navigation menu, the panel opens up under the menu. Is there a way to force the panel to open over the navigation, or to have the navigation close when the panel opens?
Here's what I have:
<!--NAVIGATION -->
<a href="#navigation" data-rel="popup"">Menu</a>
<div data-role="popup" id="navigation">
<div data-role="collapsible-set">
<div data-role="collapsible">
<h2>Category 1</h2>
<ul data-role="listview">
<li><a href="#panel1">Open Panel 1</a></li>
</ul>
</div><!-- /collapsible -->
<div data-role="collapsible">
<h2>Category 2</h2>
<ul data-role="listview">
<li><a href="#panel2">Open Panel 2</a></li>
</ul>
</div><!-- /collapsible -->
</div><!-- /collapsible set -->
</div><!-- /popup -->
<!-- /NAVIGATION -->
<!-- CONTENT -->
<ul data-role="listview">
<li><a href="#panel1">Open Panel 1</a></li>
</ul>
<!-- /CONTENT -->
<!-- PANEL -->
<div data-role="panel" id="panel1" data-position="right" data-display="overlay" data-position-fixed="true">
<p>content</p>
</div><!-- /panel1-->
<!-- /PANEL -->