at my page home.html
<li><a href="#testpage" class="item-link">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Tespage</div>
</div>
</div></a>
</li>
and at inlinepage of #testpage
<div data-page="testpage" class="page cached">
<div class="page-content">
<div class="content-block">
<p>Lorem ipsum dolor sit amet </p>
</div>
</div>
</div>
and my question is .. how i can go back from EXTERNAL page , into #testpage .. i've tried back from external page with url home.html#testpage . but not work..
Did you enable
pushState
in the app initialization function?EDIT:
To get back from external page to a specific tab, first add this function to the js file:
Then after initializing your Framework7 app, check for a parameter that contains the tab name:
Now, from your external page, you can link to your tab like this:
http://myf7app/tabs-page.html?tab=tab2