I have a panel on my page that works the way I want it to work, just need to know before I continue using panels is it possible to 1.Have multi-panels open at the same time? (I want to open two or more panels and each time, when a new panel is opened, everything else is de-activated and the only active panel is the one open)
if not, can anyone recommend a good solution to the above problem.
How can I de-activate the page when the panel is open
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.4/jquery.mobile-1.4.4.min.css"> <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.4.4/jquery.mobile-1.4.4.min.js"></script> </head> <body> <div data-role="page" id="pageone"> <div data-role="panel" id="myPanelDefault"> <h2>Panel Header</h2> <p>You can close the panel b:</p> <a href="#pageone" data-rel="close" class="ui-btn ui-btn-inline ui-shadow ui-corner-all ui-btn-a ui-icon-delete ui-btn-icon-left">Close panel</a> </div> <div data-role="panel" id="myPanelFixed" data-position-fixed="true"> <h2>Panel Header</h2> <p>You can close the panel by clicking outside the panel, pressing the Esc key, by swiping, or by clicking the button below:</p>
Close panel
Page Header
Open PanelPage Footer