EasyUI Forum
April 30, 2024, 05:42:59 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Mobile - Panel anamation direction  (Read 3320 times)
garnold
Newbie
*
Posts: 11


View Profile
« 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>
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: October 24, 2016, 08:21:12 PM »

Please call this code instead.
Code:
$.mobile.go('#p1','slide','right');
Logged
garnold
Newbie
*
Posts: 11


View Profile
« Reply #2 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 :-)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!