jquery-mobile slide overlay menu

jquery-mobile slide overlay menu

Hi,

I am using jquery-mobile slide overlay menu in my application(hybrid mobile application).To make this menu global.i kept a separate menu html as menu.html and i am loading it as $("header).load("menu.html").

The issue is During loading in each page where it is loading Ui is being broken down and after it gets loaded It's coming fine.But issue is during loading time.


please suggest me is there any alternative way to make this menu as global.I am using only html,css,js.