ebook img

Introto jQuery&Mobile& - AJ Software PDF

44 Pages·2012·1.75 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Introto jQuery&Mobile& - AJ Software

Intro  to  jQuery  Mobile   MBR-­‐ea2   @ChrisGriffith   0b0ea2   h+p://bit.ly/Jd1pxk What  does  jQuery  Mobile  do?   jQuery  Mobile  makes  it  easy  to  develop     user  interfaces  for  mobile  web  apps. What  does  jQuery  Mobile  do?   The  interface  configura;on  is  markup-­‐driven,   which  means  you  can  pre+y  much  create  your   enLre  basic  app  interface  in  HTML,  without   needing  to  write  a  single  line  of  JavaScript.  (Of   course,  you'll  sLll  need  to  write  JavaScript  if   your  app  is  to  do  anything  useful!) What  does  jQuery  Mobile  do?   It  provides  a  series  of  new  custom  events  to  let   you  detect  mobile  and  touch  specific  acLons  like   tap,  tap-­‐and-­‐hold,  swipe,  and  orienta;on   change  (i.e.  rotaLng  the  device). What  does  jQuery  Mobile  do?   It  uses  themes  to  make  it  easy  to  customize  the   look  of  your  app. <!DOCTYPE  html>   <html>   <head>   <Ltle>Page  Title</Ltle>    <link  rel="stylesheet"  href="h+p://code.jquery.com/mobile/1.0/ jquery.mobile-­‐1.0.min.css"  />    <script  src="h+p://code.jquery.com/jquery-­‐1.7.1.min.js"></script>    <script  src="h+p://code.jquery.com/mobile/1.0/ jquery.mobile-­‐1.0.min.js"></script>   </head>   <body>       </body>   </html> <body> <div id="homePage"> <div> <h1>Page Title</h1> </div> <div> <p>My page content</p> </div> <div> <h4>Footer</h4> </div> </div> </body> data-­‐*   data-­‐  a+ributes  are  a  wonderful  new  feature  of   HTML5  that  let  you  add  any  a+ributes  you  like   to  an  element.  All  you  have  to  do  is  start  your   a+ribute  name  with  the  data-­‐  prefix. <body>   <div  id="homePage"  data-­‐role="page">    <div  data-­‐role="header">      <h1>Page  Title</h1>    </div>    <div  data-­‐role="content">      <p>My  page  content</p>    </div>    <div  data-­‐role="footer">      <h4>Footer</h4>    </div>   </div>   </body>

Description:
HTML5*thatletyou*add*any*aributes*you*like* image:*url("app;icon;email.png");} * .summary-content ul { list-style-type: none; margin-left: 16px; font-size: 14px; } .summary-content p { text-align: justify; margin: 8px 0; }
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.