Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add a page in a cordova application

Tags:

html

cordova

this is probably the most noob question i have ever asked, i need to create a mobile application for my company, i have started with using Cordova 1.9, and developing in visual studio express edition for windows phone. for those who don't know this only uses html5,CSS,javascript, and some jquerymobile for the look and feel. i have googled my hair out, and yet no answer so maybe here i can get it!

How do i add a html page to a cordova app? after i press a button it should go to a new page and well go from there. if there is another way to iniciate a new page please help, even if it is with links to another site?

like image 895
Arrie Avatar asked Oct 12 '12 11:10

Arrie


1 Answers

Can't you do this simply by JQM button? E.g <a href="page.html" data-role="button">Button</a> Or with $.mobile.changePage( "page.html", { transition: "slideup"} );

like image 93
Jerry Avatar answered Oct 19 '22 03:10

Jerry