Call Us : +91-120-651-3162 | +1-877-284-1028 |

info@mobicules.com

jQuery Mobile Framework: write less, do more
10
October
2012

jQuery Mobile is a touch-optimized web framework (additionally known as a JavaScript library or a mobile framework) currently being developed by the jQuery project team. The development focuses on creating a framework compatible with a wide variety of smartphones and tablet computers, made necessary by the growing but heterogeneous tablet and smartphone market.The JQuery Mobile framework is compatible with other mobile app frameworks and platforms such as PhoneGap, Worklight and more.

Jquery Mobile is HTML5 based user interface system which is built on rock-solid jQuery and jQuery UI foundation. Its emphasis on semantic markup and progressive enhancement makes it super easy to use.

For Example:

$(‘div’).live(‘tap’, function(event){
  alert(‘You touched the element’);
});

Creating a webpage for mobile in jQuery is incredibly easy, just include the jQuery Mobile files, CSS files in your header and add a few data attributes to the markup and you are done.

Like this:

Including the jQuery Mobile Files

<link rel=”stylesheet” href=”http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.css” />  
<script type=”text/javascript” src=”http://code.jquery.com/jquery-1.4.3.min.js”></script>
<script type=”text/javascript” src=”http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.js”></script>

Adding Data attributes to the markup

<div data-role=”page” id=”first” data-theme=”a”>

        <div data-role=”header”>
                <h1>Page Title1</h1>
        </div><!– /header –>

        <div data-role=”content”>       
                <p>Page content goes here.</p>
                <a href=”#second”>Go to second page</a>
        </div><!– /content –>

        <div data-role=”footer”>
                <h4>Page Footer1</h4>
        </div><!– /footer –>
</div><!– /page –>

<div data-role=”page” id=”second” data-add-back-btn=”true” data-theme=”b”>

        <div data-role=”header”>
                <h1>Page Title2</h1>
        </div><!– /header –>

        <div data-role=”content”>       
                <p>Page content goes here.</p>          
        </div><!– /content –>

        <div data-role=”footer” data-position=”fixed”>
                <h4>Page Footer2</h4>
        </div><!– /footer –>
</div><!– /page –>

Lets have a brief look at Data Attributes used in this example:

data-role – Specifies the role of the element, like header, content, footer etc.
data-position – specifies whether the element should be fixed, in which case it will render at the top (for header) or bottom (for footer)
data-transition – specifies which transition to use when loading new pages, can be set to: slide, slideup, slidedown, pop, flip or fade
data-theme – specifies which design theme to use for elements within container, can be set to: a, b, c, d, e

Your first jQuery Mobile based webpage is ready.

Along with this simplicity jqm (jQuery Mobile) provide very rich-set of themes, apps & frameworks like phonegap (tool to wrap jQuery Mobile code for native app deployment), Codiqa (rapid jQuery Mobile app prototyping), Proto.io (drag and drop tool for building jQuery Mobile apps) etc. and third party extentions or plugins.

Links:
  • louis vuitton outlet
  • louis vuitton outlet
  • louis vuitton outlet store
  • gamma blue 11
  • jordan 11 gamma blue
  • gamma blue 11
  • air jordan 11 gamma blue
  • nike high heels
  • nike high heels
  • nike high heels
  • nike high heels
  • nike high heels
  • nike high heels
  • gamma blue 11
  • jordan 11 gamma blue
  • jordan 11 gamma blue
  • gamma blue 11
  • air max pas cher
  • louboutin pas cher
  • louboutin pas cher
  • louboutin pas cher
  • louboutin pas cher
  • louboutin pas cher
  • louis vuitton outlet
  • gamma blue 11
  • jordan 11 gamma blue
  • nike air max pas cher
  • fake ray bans
  • fake ray bans
  • fake ray bans
  • fake ray bans
  • fake ray bans
  • fake ray bans
  • fake ray bans
  • fake oakleys
  • replicas de relojes
  • replicas de relojes
  • relojes especiales
  • relojes especiales
  • relojes especiales
  • relojes especiales
  • louis vuitton outlet
  • gamma blue 11
  • powder blue 10s
  • jordan powder blue 10
  • powder blue 10s
  • retro 10 powder blue
  • infrared 3s
  • louis vuitton outlet online
  • louis vuitton outlet online
  • louis vuitton online shop
  • jordan 11 gamma blue
  • gamma blue 11s
  • jordan 11 gamma blue
  • jordan retro 11 gamma blue
  • nike heels
  • nike heels
  • nike heels
  • nike heels
  • nike heels
  • nike heels
  • jordan 11 gamma blue
  • gamma blue 11s
  • gamma blue 11s
  • jordan 11 gamma blue
  • air jordan pas cher
  • louboutin homme
  • louboutin homme
  • louboutin homme
  • louboutin homme
  • louboutin homme
  • louis vuitton outlet online
  • jordan 11 gamma blue
  • gamma blue 11s
  • nike pas cher
  • ray ban outlet
  • ray ban outlet
  • ray ban outlet
  • ray ban outlet
  • ray ban outlet
  • ray ban outlet
  • ray ban outlet
  • fake oakley sunglasses
  • relojes especiales
  • relojes especiales
  • relojes replicas
  • relojes replicas
  • relojes replicas
  • relojes replicas
  • louis vuitton outlet online
  • jordan 11 gamma blue
  • jordan 10 powder blue
  • jordan retro 10 powder blue
  • jordan 10 powder blue
  • powder blue 10
  • jordan 3 infrared 23
  • louis vuitton outlet store
  • louis vuitton outlet store
  • replica louis vuitton
  • air jordan 11 gamma blue
  • air jordan 11 gamma blue
  • gamma blue 11s
  • retro 11 gamma blue
  • jordan high heels
  • jordan high heels
  • jordan high heels
  • jordan high heels
  • jordan high heels
  • jordan high heels
  • gamma blue 11s
  • air jordan 11 gamma blue
  • air jordan 11 gamma blue
  • gamma blue 11s
  • nike air max pas cher
  • louboutin femme
  • louboutin femme
  • louboutin femme
  • louboutin femme
  • louboutin femme
  • louis vuitton outlet store
  • gamma blue 11s
  • air jordan 11 gamma blue
  • nike blazer pas cher
  • fake ray ban sunglasses
  • fake ray ban sunglasses
  • fake ray ban sunglasses
  • fake ray ban sunglasses
  • fake ray ban sunglasses
  • fake ray ban sunglasses
  • fake ray ban sunglasses
  • cheap oakley sunglasses
  • relojes replicas
  • relojes replicas
  • replicas de relojes
  • replicas de relojes
  • replicas de relojes
  • replicas de relojes
  • louis vuitton outlet store
  • air jordan 11 gamma blue
  • powder blue 10s 2014
  • powder blue jordan 10
  • powder blue 10s
  • white infrared 6s
  • powder blue 3s
  • infrared 3s
  • bred 13s
  • gamma blue 11
  • replicas de relojes
  • Replique de Montres
  • Replique Montres
  • replique montres suisse
  • infrared 3s
  • Bred 13s
  • relojes especiales
  • relojes especiales
  • hublot replica
  • hublot replica
  • Replique Montres
  • montres replique
  • Bred 13s
  • powder blue 10s
  • Louboutin Pas Cher
  • louboutin homme
  • louboutin femme
  • louboutin pas cher
  • louis vuitton outlet
  • louis vuitton outlet
  • louboutin homme
  • louboutin homme
  • louboutin pas cher
  • powder blue 10s 2014
  • jordan powder blue 10
  • infrared 23 3s
  • Replique Rolex Montres
  • Replique de montre suisse
  • montres replique
  • replique montre rolex
  • replique montre
  • Replique montre suisse
  • replique de montres
  • replique montres
  • replique montre de luxe
  • www.repliquedemontres.fr
  • replique montre rolex replique montre hublot
  • jordan retro 10
  • jordan retro 10
  • powder blue 10s
  • jordan 10 powder blue
  • jordan retro 10 powder blue
  • infrared 6s
  • jordan retro 10
  • jordan retro 10
  • infrared 6s
  • infrared 6s
  • powder blue 3s
  • powder blue 3s
  • infrared 3s
  • Infrared 3s
  • Infrared 3s
  • gamma blue 12s
  • gamma blue 12s
  • bred 13s for sale
  • bred 13s for sale
  • jordan retro 10
  • jordan retro 10
  • jordan 10 powder blue
  • jordan 10 powder blue
  • louboutin replica
  • louboutin replica
  • louboutin replica
  • louboutin replica
  • fake christian louboutin
  • fake christian louboutin
  • nike high heels
  • nike high heels
  • nike high heels
  • louis vuitton outlet
  • replica uhren
  • replica uhren
  • retro 10
  • retro 10
  • powder blue 10s 2014
  • retro 10 powder blue
  • powder blue jordan 10
  • white infrared 6s
  • retro 10
  • retro 10
  • white infrared 6s
  • white infrared 6s
  • jordan 3 powder blue
  • jordan 3 powder blue
  • jordan 3 infrared 23
  • Infrared 23 3s
  • Infrared 23 3s
  • gamma blue 12
  • gamma blue 12
  • jordan 13 bred
  • jordan 13 bred
  • retro 10
  • retro 10
  • retro 10 powder blue
  • retro 10 powder blue
  • replica christian louboutin shoes
  • replica christian louboutin shoes
  • christian louboutin replica
  • christian louboutin replica
  • fake louboutin
  • fake louboutin
  • nike heels
  • nike heels
  • nike heels
  • louis vuitton outlet online
  • uhren replica
  • uhren replica
  • retro 10 jordans
  • retro 10 jordans
  • powder blue 10
  • jordan powder blue 10
  • powder blue 10
  • jordan 6 white infrared
  • retro 10 jordans
  • retro 10 jordans
  • jordan 6 white infrared
  • jordan 6 white infrared
  • powder blue 3
  • powder blue 3
  • infrared 23 3s
  • Jordan Retro 3
  • Jordan Retro 3
  • jordan 12 gamma blue
  • jordan 12 gamma blue
  • bred 13s
  • bred 13s
  • retro 10 jordans
  • retro 10 jordans
  • jordan powder blue 10
  • jordan powder blue 10
  • replica Christian Louboutin
  • replica Christian Louboutin
  • replica louboutin
  • replica louboutin
  • christian louboutin outlet
  • christian louboutin outlet
  • jordan high heels
  • jordan high heels
  • jordan high heels
  • louis vuitton outlet store
  • retro 10s
  • retro 10s
  • infrared 6 jordan
  • retro 9s
  • retro 10s
  • infrared 6 jordan
  • infrared 6 jordan
  • jordan powder blue 3
  • jordan powder blue 4
  • infrared jordan 3
  • Jordan 3 White Cement
  • Jordan 3 White Cement
  • bred 13s 2014
  • bred 13s 2014
  • retro 10s
  • retro 11s
  • Get A Quote
    Get A Quote
    • Please Fill Captcha *

    burberry canada burberry outlet burberry canada outlet http://tartancurling.ca/stats/burberry.html gucci australia gucci handbags gucci outlet http://www.guccisaleau.info burberry canada burberry outlet burberry canada outlet burberry outlet canada http://www.bagssaleca.info ralph lauren outlet polo ralph lauren outlet http://www.pierre.org/relocation/polo.html gucci outlet gucci sale http://www.pierre.org/qualityoflife/gucci.html burberry australia burberry sale http://www.mrfern.com.au/burberry-sale.php gucci australia gucci handbags gucci outlet http://www.mrfern.com.au/gucci.htm burberry australia burberry sale http://www.chancery.com.au/bur.html ralph lauren australia polo ralph lauren australia http://www.chancery.com.au/polo.php