Page 2 of 2

single page navigation

Posted: Fri Jan 31, 2014 9:55 pm
by Ankur Wadhawan

its already shared ..


single page navigation

Posted: Fri Jan 31, 2014 11:35 pm
by Igor

Clicking on anchor tag doesn't work because you are trying navigate to screen which doesn't exist.
Image


single page navigation

Posted: Fri Jan 31, 2014 11:58 pm
by Ankur Wadhawan

You were at the wrong place.. yes that page hasnt been made.. please go to explorePage and look at the html code.....

One more thing on the same page I am trying to get GPS coordinates by using geolocation API service...it works on the browser..but not the phone...would be great if u could tell that too...thanks

Image


single page navigation

Posted: Sat Feb 01, 2014 12:26 am
by Igor

There is no navigateTo page code for button element. You should add div id and navigateTo page code. See screenshots to fix it. Image
Image


single page navigation

Posted: Sat Feb 01, 2014 1:11 am
by Igor

What device are you using for testing? Did you turn on GPS? I've tested on Android it works for me.


single page navigation

Posted: Sat Feb 01, 2014 10:11 am
by Ankur Wadhawan

I have tried doing that as well...BUT it is not working....when i give data-role='page' to the div I want to navigate to it does not navigate to that div upon click event


single page navigation

Posted: Sat Feb 01, 2014 3:36 pm
by Igor

In your code you are trying navigate to "search" page but there is no such page. Put existing page on your code.

Image