Best way to create a single, app-wide panel

Best way to create a single, app-wide panel

Hi all,

I want to have an app-wide panel. However, the current framework does not allow this structure right now. 

Currently I was trying to do it by creating the fixed contents of the panel in one dedicated page, then load it on each panel programatically. 

I do not intend to have an overly large feature set, so I want to keep my HTML on a single file. 

My first attempt was to try to load the contents of another page in the panel using

$.mobile.loadPage('#mainmenu',{pageContainer:$("#homepanel")});

But that didn't work. I could use plain jQuery, but figured it would be best to ask the community for the preferred way to do it first. 

Is there a recommended method for a persistent panel across pages?