Zubir Zubir - 1 year ago 194
HTML Question

Native Page Transitions + phonegap + cordova

i am doing simple html and javascript with the native page transition..
i already add the plugin :cordova plugin add https://github.com/Telerik-Verified-Plugins/NativePageTransitions ..
i follow all the step inside the blog..but my transition page not working..this is my code..sorry i am still newbie..

my code :

<script type="text/javascript">
function slide(href) {
"href" : "3page.html"
<button onclick="slide('right', '#3page')">Press Me</button>

Is this code correct ? please help me..i follow instruction from : http://www.telerik.com/blogs/native-performance-in-a-hybrid-app-with-native-page-transitions

Answer Source

As per the code file there isn't default cordova.js setup, i think because of it this plugin is not working for you.

it's working fine with mine demo project.

So please add

 <script src="cordova.js"></script>

and let me know if it is working or not.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download