Saturday 15 January 2011

javascript - How to make the side panel visible always in jquery mobile -



javascript - How to make the side panel visible always in jquery mobile -

hi have tried next code,

<div data-role="panel" id="mypanel" data-position="left" data-theme="a"> $(document).on('pagebeforeshow', '#slidingdialogs', function(){ $( "#mypanel" ).panel( "open"); });

the panel getting @ first clicking on hiding, need remain always, can help me please thanks.

i think adding next 2 property false trick.

data-dismissible = "false" data-swipe-close = "false"

try next code:

<div data-role="panel" id="mypanel" data-position="left" data-theme="a" data-dismissible="false" data-swipe-close="false">

javascript jquery jquery-mobile

No comments:

Post a Comment