Jquery Mobile Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 13 September 2013

Introduction to JQuery Mobile

Posted on 10:22 by Unknown
Introduction

jQuery Mobile is a user interface framework based on jQuery that works across all popular phones, tablet, e-reader, and desktop platforms. Built with accessibility and universal access in mind, we follow progressive enhancement and responsive web design (RWD) principles. HTML5 Markup-driven configuration makes it easy to learn, but a powerful API makes it easy to deeply customize the library.

Pages & Dialogs

A page in jQuery Mobile consists of an element with a data-role="page" attribute. Within the "page" container, any valid HTML markup can be used, but for typical pages in jQuery Mobile, the immediate children of a "page" are divs with data-roles of "header", "content", and "footer". The baseline requirement for a page is only the page wrapper to support the navigation system, the rest is optional.
A page can be styled as a dialog that makes the page look like it's a modal style overlay. To give a standard page the appearance of a modal dialog, add the data-rel="dialog" attribute to the link. Transitions can also be set on dialog links.

AJAX Navigation & Transitions

jQuery Mobile includes an AJAX navigation system to support a rich set of animated page transitions by automatically 'hijacking' standard links and form submissions and turning them into an AJAX request. The back button is fully supported and there are features to prefetch & cache, dynamically inject, and script pages for advanced use cases.
Whenever a link is clicked or a form is submitted, that event is automatically intercepted by the AJAX nav system and is used to issue an AJAX request based on the href or form action instead of reloading the page. While the framework waits for the AJAX response, a loader overlay is displayed.
When the requested page loads, jQuery Mobile parses the document for an element with the data-role="page"attribute and inserts that code into the DOM of the original page. Next, any widgets in the incoming page are enhanced to apply all the styles and behavior. The rest of the incoming page is discarded so any scripts, stylesheets or other information will not be included. The framework will also note the title of the incoming page to update the title when the new page is transitioned into view.
Now that the requested page is in the DOM and enhanced, it is animated into view with a transition. By default, the framework applies a fade transition. To set a custom transition effect, add the data-transition attribute to the link.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Identifying your mobile visitors from web stats
        As mobile browsers have moved from gimmick to the mainstream over the last few years the job of a web developer has had to evolve to ser...
  • Introduction to JQuery Mobile
    Introduction jQuery Mobile is a user interface framework based on jQuery that works across all popular phones, tablet, e-reader, and desktop...
  • Bye bye analogue telly
       It is with some sadness that I note today sees the turning off of the final UK terrestrial analogue TV transmitter in Northern Ireland. N...
  • What was that about "Don't be evil"?
        I'm sure most readers of this blog will be familiar with the famous Google motto "Don't be evil". Having had the chanc...
  • Slashdot is beyond resuscitation.
        I'm a news junkie. Specifically I'm a tech news junkie. Part of my morning routine involves scanning Google Reader to see what...
  • There will be no iPad killer
        This week brought the news that Nokia have launched their long-rumoured tablet running Windows RT. Despite their woes of the last few ye...
  • All blogs have to start somewhere
    Keyword a word which acts as the key to a cipher or code a word or concept of great significance Geek an unfashionable or socially inept per...
  • MSIE overtaken
        Back in April I wrote a piece about the rise of Google Chrome and the pending loss to MSIE of the number one browser slot. Based on Stat...
  • Is there a relationship between content volume and traffic?
        My exercise in future web traffic prediction last month must have caused some interest among its target audience, because I've been ...
  • Fixed jQuery Mobile footers on Windows Phone 8
        Here's a solution to something which baffled me for a while: making a jQuery Mobile footer that stayed at the bottom of the screen a...

Categories

  • accessibility
  • Android
  • blogging
  • browsers
  • CSS
  • DLA
  • DSP
  • education
  • failblog
  • filtering
  • frequency analysis
  • google
  • homeless
  • HTML
  • infographic
  • internet
  • Javascript
  • jQuery
  • JSON
  • keyword tool
  • maps
  • media
  • mobile
  • Nokia
  • ODO
  • Opera
  • outrage
  • oxford
  • PC
  • personal
  • politics
  • prediction
  • QR codes
  • Raspberry Pi
  • review
  • search engine marketing
  • smartphone
  • snake oil
  • Symbian
  • tablets
  • tech
  • traffic prediction
  • TV
  • words
  • WP8

Blog Archive

  • ▼  2013 (10)
    • ►  November (2)
    • ►  October (1)
    • ▼  September (3)
      • Moodle 2.4
      • Introduction to JQuery Mobile
      • How to Download an image in android
    • ►  July (1)
    • ►  January (3)
  • ►  2012 (18)
    • ►  December (1)
    • ►  November (1)
    • ►  October (2)
    • ►  September (1)
    • ►  August (2)
    • ►  July (1)
    • ►  June (2)
    • ►  May (4)
    • ►  April (2)
    • ►  March (1)
    • ►  February (1)
  • ►  2011 (10)
    • ►  December (1)
    • ►  November (1)
    • ►  October (1)
    • ►  September (1)
    • ►  August (2)
    • ►  February (1)
    • ►  January (3)
  • ►  2010 (15)
    • ►  December (5)
    • ►  November (2)
    • ►  October (4)
    • ►  September (4)
Powered by Blogger.

About Me

Unknown
View my complete profile