SlideShare une entreprise Scribd logo
1  sur  14
Télécharger pour lire hors ligne
JQuery Mobile

RAY BUSINESS TECHNOLOGIES PVT LTD
What is JQuery Mobile?
JQuery Mobile is a JavaScript framework developed by the JQuery team in order to ease up and
enhance the development of mobile web applications. This is done with the aid of integration of JQuery
, JQuery UI, HTML5 andCSS3 into the framework. This helps keep the framework and the code, clean
and organized.

Why JQuery Mobile?



JQuery Mobile is built on top of JQuery core. Hence the learning curve is very minimal for people
who are already familiar with JQuery syntax.
JQuery uses minimal scripting for laying out pages in HTML5 and CSS3.



JQuery Mobile allows to create themes with relative ease.



The code is very scalable and robust



JQuery Mobile is lightweight, uses minimal image dependencies and hence it is very fast.



JQuery Mobile is compatible with all major mobile platforms as well as all major desktop
browsers, including iPhone, iOS, Android, Blackberry, Palm, Symbian, Windows Mobile, Opera
Mobile/Mini, Firefox Mobile and all modern desktop browsers, etc.
Basic Features of JQuery Mobile:
General simplicity and flexibility :






Develop pages primarily using markup driven with minimal or no JavaScript.
Use advanced JavaScript and events.
Use a single HTML document with multiple embedded pages.
Break your application into multiple pages.

Progressive enhancement and graceful degradation .

While JQuery Mobile leverages the latest HTML5, CSS 3, and JavaScript, not all mobile devices provide
such support. JQuery Mobile philosophy is to support both high-end and less capable devices, such as
those without JavaScript support, and still provide the best possible experience.

Support for touch and other input methods .
JQuery Mobile provides support for different input methods and events: touch, mouse, and cursor focus based user input methods.

Accessibility .
JQuery Mobile is designed with accessibility in mind. It has support for accessible Rich Internet Applications
(WAI-ARIA) to help make web pages accessible for visitors with disabilities using assistive technologies.

Lightweight and modular .
The framework is lightweight with an overall size (minified and gzipped for Version 1.0.1) of 24KB for the
JavaScript library, 7KB for the CSS, plus some icons.

Theming .
The framework also provides a theme system that allows you to define your own application styling. With the
new ThemeRoller application you can easily create your own themes.
Creating Basic application using JQuery Mobile:

Creating Page Footer:

Creating Button:

Creating List View:
Basic Login Window:

An Example on JQuery Mobile:
Some sample code snippet for the above screen:
---------------------------------------------------------------------------<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Restaurant Picker</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="JQuery .mobile.structure-1.0.1.css" />
<link rel="apple-touch-icon" href="images/launch_icon_57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="images/launch_icon_72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="images/launch_icon_114.png" />
<link rel="stylesheet" href="JQuery .mobile-1.0.1.css" />
<link rel="stylesheet" href="custom.css" />
<script src="js/JQuery -1.7.1.min.js"></script>
<script src="js/JQuery .mobile-1.0.1.min.js"></script>
</head>
<body>
<div data-role="page" id="home" data-theme="c" data-content-theme="b">
<div data-role="content">
<div id="branding">
</div>
<div class="choice_list">
<h1> What would you'd like to eat? </h1>
<ul data-role="listview" data-inset="true" >
<li><a href="choose_town.html" data-transition="slidedown"> <img src="sushis.jpg"/> <h3> Some
Sushis</h3></a></li>
<li><a href="choose_town.html" datatransition="slidedown"> <img src="pizza.jpg"/> <h3> Pizza </h3></a></li>
<li><a href="choose_town.html" datatransition="slidedown"> <img src="kebap.jpg"/> <h3> Kebap</h3></a></li>
<li><a href="choose_town.html" datatransition="slidedown"> <img src="burger.jpg"/> <h3> Burger</h3></a></li>
<li><a href="choose_town.html" data-transition="slidedown"> <img src="nems.jpg"/> <h3> Some
Nems </h3></a></li>
<li><a href="choose_town.html" datatransition="slidedown"> <img src="biryani.jpg"/> <h3> Hyderabadi<br/> biryani</h3></a></li>
<li><a><h3>Desserts</h3><img src="tradi.jpg"/></a></li>
</ul>
</div>
</div></div><!-- /page -->
</body></html>
----------------------------------------------------------------------------
Sample Code Snippet for above image:
---------------------------------------------------------------------------<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Resto Pick</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="JQuery .mobile.structure-1.0.1.css" />
<link rel="apple-touch-icon" href="images/launch_icon_57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="images/launch_icon_72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="images/launch_icon_114.png" />
<link rel="stylesheet" href="JQuery .mobile-1.0.1.css" />
<link rel="stylesheet" href="custom.css" />
<script src="js/JQuery -1.7.1.min.js"></script>
<script src="js/JQuery .mobile-1.0.1.min.js"></script>
</head>
<body>
<div id="choisir_ville" data-role="page" data-add-back-btn="true" data-content-theme="b">
<div data-role="header">
<h1> Resto Pick</h1>
</div>
<div data-role="content">
<div class="choice_list">
<h1> In which Place do you want to eat? </h1>
<ul data-role="listview" data-inset="true" data-filter="true" >
<li><a href="choose_restaurant.html" data-transition="slidedown"> Secunderabad <span class="ui-licount" > 5 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown"> Dilshuknagar <span class="ui-licount" > 2 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown"> Ameerpet <span class="ui-licount" > 5 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown"> Kukatpally <span class="ui-licount" > 1</span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Madhapur <span class="ui-licount" > 2</span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Jublie Hills<span class="ui-licount" > 2</span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Banjara Hills <span class="ui-licount" > 10 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Masabtank <span class="ui-licount" > 8 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Ecil <span class="ui-licount" > 1 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Maredpally <span class="ui-licount" > 3 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Begumpet <span class="ui-licount" > 2 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Punjagutta <span class="ui-licount" > 4 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Kairthabad <span class="ui-licount" > 6 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Uppal <span class="ui-licount" > 2 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Nagol <span class="ui-licount" > 1 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">L B Nagar <span class="ui-licount" > 5 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Tarnaka <span class="ui-licount" > 1 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Habsiguda <span class="ui-licount" > 3 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Nacharam <span class="ui-licount" > 8 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Kothapet <span class="ui-licount" > 5 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Malakpet <span class="ui-licount" > 3 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Afzal Gunj <span class="ui-licount" > 5 </span></a> </li>
<li><a href="choose_restaurant.html" data-transition="slidedown">Lakadi ka pool <span class="ui-licount" > 2 </span></a> </li>
</ul>
</div>
</div>
</div><!-- /page -->
</body>
</html>
----------------------------------------------------------------------------
Sample code snippet for above screen:
---------------------------------------------------------------------------<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Restaurant Picker</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="JQuery .mobile.structure-1.0.1.css" />
<link rel="apple-touch-icon" href="images/launch_icon_57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="images/launch_icon_72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="images/launch_icon_114.png" />
<link rel="stylesheet" href="JQuery .mobile-1.0.1.css" />
<link rel="stylesheet" href="custom.css" />
<script src="js/JQuery -1.7.1.min.js"></script>
<script src="js/JQuery .mobile-1.0.1.min.js"></script>
</head>
<body>
<div id="restau" data-role="page" data-add-back-btn="true">
<div data-role="header">
<h1> Resto Pick</h1>
</div>
<div data-role="content">
<div class="ui-grid-a" id="restau_infos">
<div class="ui-block-a">
<h1> Paradise</h1>
<p><strong> Restaurant in Secunderabad</strong></p>
<p> On the menu: </p>
<ul>
<li> Food</li>
<li> Bakers </li>
<li> Tea </li>
</ul>
</div>
<div class="ui-block-b">
<p><img src="images/paradise.jpg" alt="jeannette photo"/></p>
<p><a href="http://paradisefoodcourt.com/" rel="external" data-role="button"> See our
website</a></p>
</div>
</div><!-- /grid-a -->
<hr/>
<div class="ui-grid-a" id="contact_infos">
<div class="ui-block-a">
<h2> Contact us</h2>
<p>Paradise Food Court, S D Road<br/>
Secunderabad</p>
<p> Tel: +9140 6631 3721 </p>
</div>
<div class="ui-block-b">
<img src="images/map1.png" alt="plan jeanette"/>
</div>
</div><!-- /grid-a -->
<div id="contact_buttons">
<a href="#" data-role="button" data-icon="maps"> Find us on Google Maps </a>
<a href="tel:914066313721" data-role="button" data-icon="tel"> Call us </a>
</div>
<hr/>
<div id="notation">
<form>
<label for="select-choice-0" class="select"><h2> User rating </h2></label>
<select name="note_utilisateur" id="note_utilisateur" data-native-menu="false" data-theme="c" >
<option value="one" class="one"> Not good at all </option>
<option value="two" class="two">Average </option>
<option value="three" class="three">Pretty good </option>
<option value="four" class="four"> Excellent </option>
</select>
</form>
</div>
<script type="text/javascript">
$( '#restau' ).live( 'pageinit',function(event){
var SelectedOptionClass = $('option:selected').attr('class');
$('div.ui-select').addClass(SelectedOptionClass);
$('#note_utilisateur').live('change', function(){
$('div.ui-select').removeClass(SelectedOptionClass);
SelectedOptionClass = $('option:selected').attr('class');
$('div.ui-select').addClass(SelectedOptionClass);
});
});
</script>
</div>

</div><!-- /page -->
</body>
</html>
----------------------------------------------------------------------------
How to optimize the speed in JQTouch:
For Iphone:
1. Performance of application is good when we use tap. Tap is the default event for safari based
applications.
2. Changes in swipe events and removal of unnecessary code.

For Android:
1. Performance of application is good when we use click event.
2. Removal of unwanted code.
About Ray Business Technologies Pvt. Ltd.
Ray Business Technologies, www.raybiztech.com, is a leading IT Services and Solutions Provider to
Fortune 500 enterprises worldwide. Raybiztech is partnered with top technology companies and is a
Member of NASSCOM. Having offices worldwide, Raybiztech has matured systems and processes,
working on diversified technologies and develops turnkey solutions.

Contact us
Ray Business Technologies Pvt Ltd
India
Ray Business Technologies Pvt. Ltd.
Plot No. 204, Block B, Kavuri Hills,
Next to IGNOU, Madhapur, Hyderabad - 500033
Tel: +91 - 40 – 2311 8011 / 22
Email: info@raybiztech.com
USA
19720 Ventura Blvd., Suite 325
Woodland Hills, CA 91364
USA Direct: 786-600-1743
Email: usa@Raybiztech.com
Visit us: www.raybiztech.com

Contenu connexe

Dernier

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 

Dernier (20)

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

En vedette (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Raybiztech Guide To Jquery Mobile

  • 1. JQuery Mobile RAY BUSINESS TECHNOLOGIES PVT LTD
  • 2. What is JQuery Mobile? JQuery Mobile is a JavaScript framework developed by the JQuery team in order to ease up and enhance the development of mobile web applications. This is done with the aid of integration of JQuery , JQuery UI, HTML5 andCSS3 into the framework. This helps keep the framework and the code, clean and organized. Why JQuery Mobile?   JQuery Mobile is built on top of JQuery core. Hence the learning curve is very minimal for people who are already familiar with JQuery syntax. JQuery uses minimal scripting for laying out pages in HTML5 and CSS3.  JQuery Mobile allows to create themes with relative ease.  The code is very scalable and robust  JQuery Mobile is lightweight, uses minimal image dependencies and hence it is very fast.  JQuery Mobile is compatible with all major mobile platforms as well as all major desktop browsers, including iPhone, iOS, Android, Blackberry, Palm, Symbian, Windows Mobile, Opera Mobile/Mini, Firefox Mobile and all modern desktop browsers, etc.
  • 3. Basic Features of JQuery Mobile: General simplicity and flexibility :     Develop pages primarily using markup driven with minimal or no JavaScript. Use advanced JavaScript and events. Use a single HTML document with multiple embedded pages. Break your application into multiple pages. Progressive enhancement and graceful degradation . While JQuery Mobile leverages the latest HTML5, CSS 3, and JavaScript, not all mobile devices provide such support. JQuery Mobile philosophy is to support both high-end and less capable devices, such as those without JavaScript support, and still provide the best possible experience. Support for touch and other input methods . JQuery Mobile provides support for different input methods and events: touch, mouse, and cursor focus based user input methods. Accessibility . JQuery Mobile is designed with accessibility in mind. It has support for accessible Rich Internet Applications (WAI-ARIA) to help make web pages accessible for visitors with disabilities using assistive technologies. Lightweight and modular . The framework is lightweight with an overall size (minified and gzipped for Version 1.0.1) of 24KB for the JavaScript library, 7KB for the CSS, plus some icons. Theming . The framework also provides a theme system that allows you to define your own application styling. With the new ThemeRoller application you can easily create your own themes.
  • 4. Creating Basic application using JQuery Mobile: Creating Page Footer: Creating Button: Creating List View:
  • 5. Basic Login Window: An Example on JQuery Mobile:
  • 6. Some sample code snippet for the above screen: ---------------------------------------------------------------------------<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Restaurant Picker</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="JQuery .mobile.structure-1.0.1.css" /> <link rel="apple-touch-icon" href="images/launch_icon_57.png" /> <link rel="apple-touch-icon" sizes="72x72" href="images/launch_icon_72.png" /> <link rel="apple-touch-icon" sizes="114x114" href="images/launch_icon_114.png" /> <link rel="stylesheet" href="JQuery .mobile-1.0.1.css" /> <link rel="stylesheet" href="custom.css" /> <script src="js/JQuery -1.7.1.min.js"></script> <script src="js/JQuery .mobile-1.0.1.min.js"></script> </head> <body> <div data-role="page" id="home" data-theme="c" data-content-theme="b"> <div data-role="content"> <div id="branding"> </div> <div class="choice_list"> <h1> What would you'd like to eat? </h1> <ul data-role="listview" data-inset="true" > <li><a href="choose_town.html" data-transition="slidedown"> <img src="sushis.jpg"/> <h3> Some Sushis</h3></a></li> <li><a href="choose_town.html" datatransition="slidedown"> <img src="pizza.jpg"/> <h3> Pizza </h3></a></li> <li><a href="choose_town.html" datatransition="slidedown"> <img src="kebap.jpg"/> <h3> Kebap</h3></a></li> <li><a href="choose_town.html" datatransition="slidedown"> <img src="burger.jpg"/> <h3> Burger</h3></a></li> <li><a href="choose_town.html" data-transition="slidedown"> <img src="nems.jpg"/> <h3> Some Nems </h3></a></li> <li><a href="choose_town.html" datatransition="slidedown"> <img src="biryani.jpg"/> <h3> Hyderabadi<br/> biryani</h3></a></li> <li><a><h3>Desserts</h3><img src="tradi.jpg"/></a></li> </ul> </div> </div></div><!-- /page --> </body></html> ----------------------------------------------------------------------------
  • 7. Sample Code Snippet for above image:
  • 8. ---------------------------------------------------------------------------<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Resto Pick</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="JQuery .mobile.structure-1.0.1.css" /> <link rel="apple-touch-icon" href="images/launch_icon_57.png" /> <link rel="apple-touch-icon" sizes="72x72" href="images/launch_icon_72.png" /> <link rel="apple-touch-icon" sizes="114x114" href="images/launch_icon_114.png" /> <link rel="stylesheet" href="JQuery .mobile-1.0.1.css" /> <link rel="stylesheet" href="custom.css" /> <script src="js/JQuery -1.7.1.min.js"></script> <script src="js/JQuery .mobile-1.0.1.min.js"></script> </head> <body> <div id="choisir_ville" data-role="page" data-add-back-btn="true" data-content-theme="b"> <div data-role="header"> <h1> Resto Pick</h1> </div> <div data-role="content"> <div class="choice_list"> <h1> In which Place do you want to eat? </h1> <ul data-role="listview" data-inset="true" data-filter="true" > <li><a href="choose_restaurant.html" data-transition="slidedown"> Secunderabad <span class="ui-licount" > 5 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown"> Dilshuknagar <span class="ui-licount" > 2 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown"> Ameerpet <span class="ui-licount" > 5 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown"> Kukatpally <span class="ui-licount" > 1</span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Madhapur <span class="ui-licount" > 2</span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Jublie Hills<span class="ui-licount" > 2</span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Banjara Hills <span class="ui-licount" > 10 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Masabtank <span class="ui-licount" > 8 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Ecil <span class="ui-licount" > 1 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Maredpally <span class="ui-licount" > 3 </span></a> </li>
  • 9. <li><a href="choose_restaurant.html" data-transition="slidedown">Begumpet <span class="ui-licount" > 2 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Punjagutta <span class="ui-licount" > 4 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Kairthabad <span class="ui-licount" > 6 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Uppal <span class="ui-licount" > 2 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Nagol <span class="ui-licount" > 1 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">L B Nagar <span class="ui-licount" > 5 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Tarnaka <span class="ui-licount" > 1 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Habsiguda <span class="ui-licount" > 3 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Nacharam <span class="ui-licount" > 8 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Kothapet <span class="ui-licount" > 5 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Malakpet <span class="ui-licount" > 3 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Afzal Gunj <span class="ui-licount" > 5 </span></a> </li> <li><a href="choose_restaurant.html" data-transition="slidedown">Lakadi ka pool <span class="ui-licount" > 2 </span></a> </li> </ul> </div> </div> </div><!-- /page --> </body> </html> ----------------------------------------------------------------------------
  • 10.
  • 11. Sample code snippet for above screen: ---------------------------------------------------------------------------<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Restaurant Picker</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="JQuery .mobile.structure-1.0.1.css" /> <link rel="apple-touch-icon" href="images/launch_icon_57.png" /> <link rel="apple-touch-icon" sizes="72x72" href="images/launch_icon_72.png" /> <link rel="apple-touch-icon" sizes="114x114" href="images/launch_icon_114.png" /> <link rel="stylesheet" href="JQuery .mobile-1.0.1.css" /> <link rel="stylesheet" href="custom.css" /> <script src="js/JQuery -1.7.1.min.js"></script> <script src="js/JQuery .mobile-1.0.1.min.js"></script> </head> <body> <div id="restau" data-role="page" data-add-back-btn="true"> <div data-role="header"> <h1> Resto Pick</h1> </div> <div data-role="content"> <div class="ui-grid-a" id="restau_infos"> <div class="ui-block-a"> <h1> Paradise</h1> <p><strong> Restaurant in Secunderabad</strong></p> <p> On the menu: </p> <ul> <li> Food</li> <li> Bakers </li> <li> Tea </li> </ul> </div> <div class="ui-block-b"> <p><img src="images/paradise.jpg" alt="jeannette photo"/></p> <p><a href="http://paradisefoodcourt.com/" rel="external" data-role="button"> See our website</a></p> </div> </div><!-- /grid-a --> <hr/> <div class="ui-grid-a" id="contact_infos"> <div class="ui-block-a"> <h2> Contact us</h2> <p>Paradise Food Court, S D Road<br/>
  • 12. Secunderabad</p> <p> Tel: +9140 6631 3721 </p> </div> <div class="ui-block-b"> <img src="images/map1.png" alt="plan jeanette"/> </div> </div><!-- /grid-a --> <div id="contact_buttons"> <a href="#" data-role="button" data-icon="maps"> Find us on Google Maps </a> <a href="tel:914066313721" data-role="button" data-icon="tel"> Call us </a> </div> <hr/> <div id="notation"> <form> <label for="select-choice-0" class="select"><h2> User rating </h2></label> <select name="note_utilisateur" id="note_utilisateur" data-native-menu="false" data-theme="c" > <option value="one" class="one"> Not good at all </option> <option value="two" class="two">Average </option> <option value="three" class="three">Pretty good </option> <option value="four" class="four"> Excellent </option> </select> </form> </div> <script type="text/javascript"> $( '#restau' ).live( 'pageinit',function(event){ var SelectedOptionClass = $('option:selected').attr('class'); $('div.ui-select').addClass(SelectedOptionClass); $('#note_utilisateur').live('change', function(){ $('div.ui-select').removeClass(SelectedOptionClass); SelectedOptionClass = $('option:selected').attr('class'); $('div.ui-select').addClass(SelectedOptionClass); }); }); </script> </div> </div><!-- /page --> </body> </html> ----------------------------------------------------------------------------
  • 13. How to optimize the speed in JQTouch: For Iphone: 1. Performance of application is good when we use tap. Tap is the default event for safari based applications. 2. Changes in swipe events and removal of unnecessary code. For Android: 1. Performance of application is good when we use click event. 2. Removal of unwanted code.
  • 14. About Ray Business Technologies Pvt. Ltd. Ray Business Technologies, www.raybiztech.com, is a leading IT Services and Solutions Provider to Fortune 500 enterprises worldwide. Raybiztech is partnered with top technology companies and is a Member of NASSCOM. Having offices worldwide, Raybiztech has matured systems and processes, working on diversified technologies and develops turnkey solutions. Contact us Ray Business Technologies Pvt Ltd India Ray Business Technologies Pvt. Ltd. Plot No. 204, Block B, Kavuri Hills, Next to IGNOU, Madhapur, Hyderabad - 500033 Tel: +91 - 40 – 2311 8011 / 22 Email: info@raybiztech.com USA 19720 Ventura Blvd., Suite 325 Woodland Hills, CA 91364 USA Direct: 786-600-1743 Email: usa@Raybiztech.com Visit us: www.raybiztech.com