Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Page and HTML Navigation using jQuery Mobile...

I am relatively new to html, css, javascript programming. I tried using jQuery mobile and the data-role="page" attribute.

My file structure is something like this:
- html1.html
   -> page id: #page_11
   -> page id: #page_12
-html2.html
   ->page id: #page_21
   ->page id: #page_22

When I open html1 in Chrome, I can navigate back and forth between #page_11 and #page_12  and can also go to html2.
However, after go from html1 to html2, I can't use:

<a href="#page_22">Page 2.2</a>

...despite being on html2 in the browser.
Is there any way I can access the page bookmarks in html2?
asked Feb 9, 2016 by Alena

1 Answer

0 votes
Did you tried like

<a href="html2.html#page_22">Page 2.2</a>

or

<a href="#page_22>PAGELINK</a>
...
...
<div id="page_22">
...
answered May 25, 2016 by Mithat Bronze (4,410 points)
Good idea, thanks a million!
...