Page 1 of 2

single page navigation

Posted: Thu Jan 30, 2014 11:54 pm
by Ankur Wadhawan

is single page navigation possible i am trying to implement jquery mobile transitions..
http://dev.chetankjain.net/2011/12/jq...


single page navigation

Posted: Fri Jan 31, 2014 12:02 am
by maxkatz

single page navigation

Posted: Fri Jan 31, 2014 12:18 am
by Ankur Wadhawan

ok great..i have been working on my app for some time and have different pages... would checking this option change my previous logic or pages?


single page navigation

Posted: Fri Jan 31, 2014 1:17 am
by maxkatz

Not the logic.. but all the pages will be rendered into one file.


single page navigation

Posted: Fri Jan 31, 2014 7:57 am
by Ankur Wadhawan

This is my code after checking the option told by you...however when i click on anchor tag it doesnt work. DO I have to explicitly define javascript

""""

[url=http://#search] Go to Search
[/url]

Code: Select all

Hello

single page navigation

Posted: Fri Jan 31, 2014 1:12 pm
by Maryna Brodina

Hello! Could you paste the code? Use < code tags.


single page navigation

Posted: Fri Jan 31, 2014 1:26 pm
by Ankur Wadhawan

code
<div data-role="content">
<a href="#search" data-role="button" data-transition="slide" > Go to Search
</a>
<>

<div id="search" data-role="page">

Code: Select all

Hello 

<>

/code


single page navigation

Posted: Fri Jan 31, 2014 4:19 pm
by Kateryna Grynko

Hi Ankur,

Your code works for us. Where did you add it? Could you please post a public link and tell how to reproduce the issue?


single page navigation

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

i have included the code within the html component.
on click of the button ajax loads content into the slide transition page...
ajax does load the content however the transition to the page does not happen

I have also tried without ajax.. that is just a simple page transition with button click

i have even tried Appery.navigateTo('menuPage', {transition : 'slideup'});

Let me know how i could share my code page....


single page navigation

Posted: Fri Jan 31, 2014 9:44 pm
by Kateryna Grynko

Ankur,

Please share the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a or post a public link: docs.appery.io/documentation/sharing-and-collaboration