Title: Mobile - Panel anamation direction Post by: garnold on October 24, 2016, 10:57:56 AM I have a button that needs to move the user back to another panel. Not just back to the last page but to another panel that needs to be hard coded. I have this working but it does not slide in the correct direction. I have tried to make this change from what I thought the documentation stated but I must be doing it wrong.
<div class="m-left"> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-home',plain:true" plain="true" outline="true" style="width:80px" onclick="$.mobile.go('#p1')" data-options="direction:'right'">Home</a> </div> Title: Re: Mobile - Panel anamation direction Post by: stworthy on October 24, 2016, 08:21:12 PM Please call this code instead.
Code: $.mobile.go('#p1','slide','right'); Title: Re: Mobile - Panel anamation direction Post by: garnold on October 25, 2016, 07:04:46 AM Please call this code instead. Code: $.mobile.go('#p1','slide','right'); Worked great! I really thank everyone for the support on this forum :-) |