Search within TutorialsPark

jQuery Mobile : Adding Pages

Learn how to add both Internal and External pages to a jQuery Mobile Page

jQuery Mobile: Adding Pages to a Document

You can add multiple jQuery Mobile pages on a Single document , this technique is useful when the you are building application with every thing bundled into a single file.

Example: jQuery Mobile - Adding Pages to a Document

Give it a TRY! » Note: The Second Internal Page is linked to the First page using an ID

jQuery Mobile: Linking to External Pages

To link external webpages to a jQuery mobile document, you can add link just like any other HTML document. In this case we create a page called mydoc2.html

Syntax: jQuery Mobile Linking to External Pages

Give it a TRY! » Note: jQuery Mobile makes use of Ajax to load the specified document and display the results using default transition effects.

jQuery Mobile : Prefetching Pages

jQuery Mobile can be made to prefetch pages, so that when the links are clicked pages can be displayed quickly.

This technique allows you improve the user experience and make pages more responsive, but in the process we are downloading resource that may not be visited at all.

Syntax: jQuery Mobile - Prefetching Pages

Give it a TRY! » Note: Prefetching Technique is useful when the internet connections are slow