One
I have an id
of "one" on my page container. I'm first in the source order so I'm shown when the page loads.
This is a multi-page boilerplate template that you can copy to build your first jQuery Mobile page. This template contains multiple "page" containers inside, unlike a single page template that has just one page within it.
Just view the source and copy the code to get started. All the CSS and JS is linked to the jQuery CDN versions so this is super easy to set up. Remember to include a meta viewport tag in the head to set the zoom level.
You link to internal pages by referring to the id
of the page you want to show. For example, to link to the page with an id
of "two", my link would have a href="#two"
in the code.