SlideShare una empresa de Scribd logo
1 de 31
Vishal Kumar 06131A1258
Introduction Why you’re going to love jQuery!
Introduction What we want to create? Dynamic Live Websites Effects filled  Fast, responsive sites What do we have? Flash Java Javascript
The Solution : jQuery What is jQuery? jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.
History of jQuery Developed by John Resig Released v1.0 on November 26th, 2006 Maintained as an Open Source software (dual licensed under MIT and GNU GPL) Microsoft planning to integrate into Microsoft Visual Web Developer Nokia planning to integrate into Web Run-Time platform Currently on Version 1.4, released
Features of jQuery DOM element selections using the cross-browser open source selector engine Sizzle DOM traversal and modification Events CSS manipulation Effects and animations AJAX Extensibility through plugins Utilities - such as browser version and the each function.
A Few Examples Forms Chatboxes Menus Dropdowns Sliders Tabs Slideshows Games
jQuery Enhanced Forms
Menus and Dropdowns
Sliders and Slideshows
Technical Implementation Because, after all, we are I.T. folks.
jQuery Object The jQuery Object Contains a reference to the DOM element Has properties of the DOM element, like text, html, tags Can be used to manipulate the DOM directly Can be nested Every jQuery Function Should return the same jQuery object
Using jQuery Download the .JS file (23KB otal, minified) Use the jQuery file hosted on Google’s Code servers <html>    <head>      <script type="text/javascript" src="jquery.js">       </script>       <script type="text/javascript"> </script>    </head>    <body> <a href="http://jquery.com/">jQuery</a>    </body>  </html>
jQuery Syntax $(document).ready(function() {  	$("a").click(function(event) 	{  		alert("Thanks for visiting!");  	}); });
The  $ Symbol $ is the Shortcut for the jQuery Global Class Use it to access any part of the DOM Search by CSS to get the element. Returns a jQuery object which can be futher manipulated
DOM Traversing Document Object Model: The way of representing the Elements of a Document as Objects Way we represent HTML, XML, XHTML From BODY, P, DIV, SPAN, etc. Any element can be accessed from its DOM structure
Chainable Functions Chainable events: find this, do several things in succession $('#message2').fadeIn('slow').addClass('alert').html('Validate your markup!'); Allows us to create complex yet easy to understand chains of actions
jQuery Animations Animations Built in fadeIn() fadeOut() hide() show() slideDown() slideUp() toggle() slideToggle() fadeTo() animate() See also: Easing Plug-in jQuery User Interface: http://ui.jquery.com
When is the DOM Ready? When is DOM ready? We can use the ready() function to find out $(document).ready(function()  {    // Write Code Here });
CSS & Attribute Matching Search with Tags and CSS: $('p'); $('p.message'); $('#message .text'); $('ul#menu > li'); $('ul#menuul'); Attribute Matching: $('img[@alt]'); $('a[@href*=google]');
jQuery Events Don't add "onclick" to your markup: use jQuery to find and assign events $('#control').click(function() {    $('#message').show().addClass('alert');}); $('#control').toggle(function() {    $('#message').show().addClass('alert');}, function(){    $('#message').removeClass('alert').hide();});
jQuery with Other Frameworks Mootools Prototype, etc Other frameworks also use the $ shortcut Add code like this before making any jQuery calls: varfoo = jQuery.noConflict(); Then use it like this: foo('#message').show();
AHAH !?! AHAH style (Asynchronous HTML and HTTP) Easiest way of creating Asynchronous sites $('#control').click(function()  	{    $('#message').load('current.php');});
AJAX with jQuery Asynchronous Javascript and XML AJAX - Processing the feed $('#demo5-1').click(function() { $('#headline-container').html('');    $.get('headlines.xml', function(rss){        $(rss).find('item title').each(function(index) {            $('#headline-container').append('<p>' + $(this).text() + '</p>');        });    });});
Live Examples I can’t believe its not Flash!
Links Facebook Search: 	http://demos.9lessons.info/auto.htm Photoslider:		http://css-tricks.com/examples/AnythingSlider/#panel-5 Tabbed Manu:	 http://www.queness.com/resources/html/tabmenu/jquery-tabbed-menu-queness.html Flip: 			http://lab.smashup.it/flip/ Gallery:		http://visuallightbox.com/photo-gallery-with-lightbox-simple-html-demo.html Zoom image: 	http://www.hotajax.org/demo/jquery/zoomimage/zoomimage/index.html Mac Dock: http://nettuts.s3.cdn.plus.org/358_jquery/example%20files/all-examples.html Site with jQuery: 	http://pupunzi.com/#welcome.html 3d Sphere in jQuery: 	http://www.devirtuoso.com/Examples/3D-Engine/sphere.html Chat Noir: 		www.vishalkumar.in/works/jscat
Conclusion Impressed?
Who’s using jQuery? Google Dell Bank of America Mozilla Drupal NetFlix NBC Digg
How can I learn and use jQuery Check out jQuery.com Documentation Sites like www.jquerytutorials.com Plugins for many of the features Apply it to any web based application Change the way you develop websites, and bring life to the online experience!
Closing Remarks Thank you for listening. If you have any queries, please feel free to ask .  If you want to know how you can use a particular module of technology for your project or application, contact me at vishalkumar@gmail.com +91 9985 463 469
References jQuery: www.jQuery.com jQuery 1.4 Reference Guide(Jan 2010), Pack Publishing www.noupe.com www.jquerytutorials.com http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/ www.google.com/images (search “jquery <feature>”)

Más contenido relacionado

La actualidad más candente

AngularJS Introduction
AngularJS IntroductionAngularJS Introduction
AngularJS IntroductionBrajesh Yadav
 
jQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & CompressionjQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & CompressionPaul Irish
 
Angular directive filter and routing
Angular directive filter and routingAngular directive filter and routing
Angular directive filter and routingjagriti srivastava
 
Filters in AngularJS
Filters in AngularJSFilters in AngularJS
Filters in AngularJSBrajesh Yadav
 
AngularJS best-practices
AngularJS best-practicesAngularJS best-practices
AngularJS best-practicesHenry Tao
 
Understanding angular js $rootscope and $scope
Understanding angular js $rootscope and $scopeUnderstanding angular js $rootscope and $scope
Understanding angular js $rootscope and $scopeBrajesh Yadav
 
Using SVG with Ample SDK cross browser
Using SVG with Ample SDK cross browserUsing SVG with Ample SDK cross browser
Using SVG with Ample SDK cross browserSergey Ilinsky
 
Mobile HTML, CSS, and JavaScript
Mobile HTML, CSS, and JavaScriptMobile HTML, CSS, and JavaScript
Mobile HTML, CSS, and JavaScriptfranksvalli
 
What's new and exciting with JSF 2.0
What's new and exciting with JSF 2.0What's new and exciting with JSF 2.0
What's new and exciting with JSF 2.0Michael Fons
 
HTML5 Overview
HTML5 OverviewHTML5 Overview
HTML5 Overviewreybango
 
Deep dive into AngularJs for Beginners
Deep dive into AngularJs for BeginnersDeep dive into AngularJs for Beginners
Deep dive into AngularJs for BeginnersVassilis Pitsounis
 
Plone Interactivity
Plone InteractivityPlone Interactivity
Plone InteractivityEric Steele
 
Story Driven Development With Cucumber
Story Driven Development With CucumberStory Driven Development With Cucumber
Story Driven Development With CucumberSean Cribbs
 
1 ppt-ajax with-j_query
1 ppt-ajax with-j_query1 ppt-ajax with-j_query
1 ppt-ajax with-j_queryFajar Baskoro
 

La actualidad más candente (20)

AngularJS Introduction
AngularJS IntroductionAngularJS Introduction
AngularJS Introduction
 
jQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & CompressionjQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & Compression
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Angular directive filter and routing
Angular directive filter and routingAngular directive filter and routing
Angular directive filter and routing
 
Filters in AngularJS
Filters in AngularJSFilters in AngularJS
Filters in AngularJS
 
Jquery mobile
Jquery mobileJquery mobile
Jquery mobile
 
Built in filters
Built in filtersBuilt in filters
Built in filters
 
AngularJS best-practices
AngularJS best-practicesAngularJS best-practices
AngularJS best-practices
 
Understanding angular js $rootscope and $scope
Understanding angular js $rootscope and $scopeUnderstanding angular js $rootscope and $scope
Understanding angular js $rootscope and $scope
 
Using SVG with Ample SDK cross browser
Using SVG with Ample SDK cross browserUsing SVG with Ample SDK cross browser
Using SVG with Ample SDK cross browser
 
Mobile HTML, CSS, and JavaScript
Mobile HTML, CSS, and JavaScriptMobile HTML, CSS, and JavaScript
Mobile HTML, CSS, and JavaScript
 
What's new and exciting with JSF 2.0
What's new and exciting with JSF 2.0What's new and exciting with JSF 2.0
What's new and exciting with JSF 2.0
 
HTML5 Overview
HTML5 OverviewHTML5 Overview
HTML5 Overview
 
AngularJS 101
AngularJS 101AngularJS 101
AngularJS 101
 
Deep dive into AngularJs for Beginners
Deep dive into AngularJs for BeginnersDeep dive into AngularJs for Beginners
Deep dive into AngularJs for Beginners
 
Plone Interactivity
Plone InteractivityPlone Interactivity
Plone Interactivity
 
Html5 Overview
Html5 OverviewHtml5 Overview
Html5 Overview
 
Story Driven Development With Cucumber
Story Driven Development With CucumberStory Driven Development With Cucumber
Story Driven Development With Cucumber
 
1 ppt-ajax with-j_query
1 ppt-ajax with-j_query1 ppt-ajax with-j_query
1 ppt-ajax with-j_query
 
J query intro_29thsep_alok
J query intro_29thsep_alokJ query intro_29thsep_alok
J query intro_29thsep_alok
 

Destacado

J Query Introduction And JQuery Selectors
J Query Introduction And JQuery SelectorsJ Query Introduction And JQuery Selectors
J Query Introduction And JQuery SelectorsAnand Kumar Rajana
 
Javascript Best Practices and Intro to Titanium
Javascript Best Practices and Intro to TitaniumJavascript Best Practices and Intro to Titanium
Javascript Best Practices and Intro to TitaniumTechday7
 
Group presentation 38
Group presentation 38Group presentation 38
Group presentation 38otigon
 
Javascript(2)
Javascript(2)Javascript(2)
Javascript(2)tomcoh
 
8 introduction to_java_script
8 introduction to_java_script8 introduction to_java_script
8 introduction to_java_scriptVijay Kalyan
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScriptBryan Basham
 
JavaScript - An Introduction
JavaScript - An IntroductionJavaScript - An Introduction
JavaScript - An IntroductionManvendra Singh
 
Slideshare.Com Powerpoint
Slideshare.Com PowerpointSlideshare.Com Powerpoint
Slideshare.Com Powerpointguested929b
 

Destacado (18)

Javascript
JavascriptJavascript
Javascript
 
JQuery: Introduction
JQuery: IntroductionJQuery: Introduction
JQuery: Introduction
 
J Query Introduction And JQuery Selectors
J Query Introduction And JQuery SelectorsJ Query Introduction And JQuery Selectors
J Query Introduction And JQuery Selectors
 
Javascript Best Practices and Intro to Titanium
Javascript Best Practices and Intro to TitaniumJavascript Best Practices and Intro to Titanium
Javascript Best Practices and Intro to Titanium
 
Introduction to my_sql
Introduction to my_sqlIntroduction to my_sql
Introduction to my_sql
 
Group presentation 38
Group presentation 38Group presentation 38
Group presentation 38
 
J-Query Course Presentation
J-Query Course PresentationJ-Query Course Presentation
J-Query Course Presentation
 
Javascript(2)
Javascript(2)Javascript(2)
Javascript(2)
 
Introduction to j_query
Introduction to j_queryIntroduction to j_query
Introduction to j_query
 
8 introduction to_java_script
8 introduction to_java_script8 introduction to_java_script
8 introduction to_java_script
 
Java script
Java scriptJava script
Java script
 
Java script
Java scriptJava script
Java script
 
Java script
Java scriptJava script
Java script
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScript
 
Javascript
JavascriptJavascript
Javascript
 
JavaScript - An Introduction
JavaScript - An IntroductionJavaScript - An Introduction
JavaScript - An Introduction
 
reveal.js 3.0.0
reveal.js 3.0.0reveal.js 3.0.0
reveal.js 3.0.0
 
Slideshare.Com Powerpoint
Slideshare.Com PowerpointSlideshare.Com Powerpoint
Slideshare.Com Powerpoint
 

Similar a J Query Presentation

Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02careersblog
 
jQuery and_drupal
jQuery and_drupaljQuery and_drupal
jQuery and_drupalBlackCatWeb
 
jQuery Presentation - Refresh Events
jQuery Presentation - Refresh EventsjQuery Presentation - Refresh Events
jQuery Presentation - Refresh EventsEugene Andruszczenko
 
Eugene Andruszczenko: jQuery
Eugene Andruszczenko: jQueryEugene Andruszczenko: jQuery
Eugene Andruszczenko: jQueryRefresh Events
 
Intro to jQuery - LUGOR - Part 1
Intro to jQuery - LUGOR - Part 1Intro to jQuery - LUGOR - Part 1
Intro to jQuery - LUGOR - Part 1Ralph Whitbeck
 
Creating Yahoo Mobile Widgets
Creating Yahoo Mobile WidgetsCreating Yahoo Mobile Widgets
Creating Yahoo Mobile WidgetsRicardo Varela
 
Building Complex GUI Apps The Right Way. With Ample SDK - SWDC2010
Building Complex GUI Apps The Right Way. With Ample SDK - SWDC2010Building Complex GUI Apps The Right Way. With Ample SDK - SWDC2010
Building Complex GUI Apps The Right Way. With Ample SDK - SWDC2010Sergey Ilinsky
 
jQuery For Beginners - jQuery Conference 2009
jQuery For Beginners - jQuery Conference 2009jQuery For Beginners - jQuery Conference 2009
jQuery For Beginners - jQuery Conference 2009Ralph Whitbeck
 
jQuery introduction
jQuery introductionjQuery introduction
jQuery introductionTomi Juhola
 
J Query - Your First Steps
J Query - Your First StepsJ Query - Your First Steps
J Query - Your First StepsBronson Quick
 
Building Smart Workflows - Dan Diebolt
Building Smart Workflows - Dan DieboltBuilding Smart Workflows - Dan Diebolt
Building Smart Workflows - Dan DieboltQuickBase, Inc.
 
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM Alfresco Software
 

Similar a J Query Presentation (20)

Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
 
jQuery
jQueryjQuery
jQuery
 
jQuery and_drupal
jQuery and_drupaljQuery and_drupal
jQuery and_drupal
 
jQuery Fundamentals
jQuery FundamentalsjQuery Fundamentals
jQuery Fundamentals
 
jQuery Presentation - Refresh Events
jQuery Presentation - Refresh EventsjQuery Presentation - Refresh Events
jQuery Presentation - Refresh Events
 
Eugene Andruszczenko: jQuery
Eugene Andruszczenko: jQueryEugene Andruszczenko: jQuery
Eugene Andruszczenko: jQuery
 
Intro to jQuery - LUGOR - Part 1
Intro to jQuery - LUGOR - Part 1Intro to jQuery - LUGOR - Part 1
Intro to jQuery - LUGOR - Part 1
 
Introduction to JQuery
Introduction to JQueryIntroduction to JQuery
Introduction to JQuery
 
Microsoft and jQuery
Microsoft and jQueryMicrosoft and jQuery
Microsoft and jQuery
 
Retrofitting
RetrofittingRetrofitting
Retrofitting
 
Creating Yahoo Mobile Widgets
Creating Yahoo Mobile WidgetsCreating Yahoo Mobile Widgets
Creating Yahoo Mobile Widgets
 
Building Complex GUI Apps The Right Way. With Ample SDK - SWDC2010
Building Complex GUI Apps The Right Way. With Ample SDK - SWDC2010Building Complex GUI Apps The Right Way. With Ample SDK - SWDC2010
Building Complex GUI Apps The Right Way. With Ample SDK - SWDC2010
 
jQuery For Beginners - jQuery Conference 2009
jQuery For Beginners - jQuery Conference 2009jQuery For Beginners - jQuery Conference 2009
jQuery For Beginners - jQuery Conference 2009
 
jQuery introduction
jQuery introductionjQuery introduction
jQuery introduction
 
Think jQuery
Think jQueryThink jQuery
Think jQuery
 
J Query - Your First Steps
J Query - Your First StepsJ Query - Your First Steps
J Query - Your First Steps
 
jQuery Intro
jQuery IntrojQuery Intro
jQuery Intro
 
Building Smart Workflows - Dan Diebolt
Building Smart Workflows - Dan DieboltBuilding Smart Workflows - Dan Diebolt
Building Smart Workflows - Dan Diebolt
 
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
 
jQuery for web development
jQuery for web developmentjQuery for web development
jQuery for web development
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 

Último (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

J Query Presentation

  • 2. Introduction Why you’re going to love jQuery!
  • 3. Introduction What we want to create? Dynamic Live Websites Effects filled Fast, responsive sites What do we have? Flash Java Javascript
  • 4. The Solution : jQuery What is jQuery? jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.
  • 5. History of jQuery Developed by John Resig Released v1.0 on November 26th, 2006 Maintained as an Open Source software (dual licensed under MIT and GNU GPL) Microsoft planning to integrate into Microsoft Visual Web Developer Nokia planning to integrate into Web Run-Time platform Currently on Version 1.4, released
  • 6. Features of jQuery DOM element selections using the cross-browser open source selector engine Sizzle DOM traversal and modification Events CSS manipulation Effects and animations AJAX Extensibility through plugins Utilities - such as browser version and the each function.
  • 7. A Few Examples Forms Chatboxes Menus Dropdowns Sliders Tabs Slideshows Games
  • 11. Technical Implementation Because, after all, we are I.T. folks.
  • 12. jQuery Object The jQuery Object Contains a reference to the DOM element Has properties of the DOM element, like text, html, tags Can be used to manipulate the DOM directly Can be nested Every jQuery Function Should return the same jQuery object
  • 13. Using jQuery Download the .JS file (23KB otal, minified) Use the jQuery file hosted on Google’s Code servers <html> <head> <script type="text/javascript" src="jquery.js"> </script> <script type="text/javascript"> </script> </head> <body> <a href="http://jquery.com/">jQuery</a> </body> </html>
  • 14. jQuery Syntax $(document).ready(function() { $("a").click(function(event) { alert("Thanks for visiting!"); }); });
  • 15. The $ Symbol $ is the Shortcut for the jQuery Global Class Use it to access any part of the DOM Search by CSS to get the element. Returns a jQuery object which can be futher manipulated
  • 16. DOM Traversing Document Object Model: The way of representing the Elements of a Document as Objects Way we represent HTML, XML, XHTML From BODY, P, DIV, SPAN, etc. Any element can be accessed from its DOM structure
  • 17. Chainable Functions Chainable events: find this, do several things in succession $('#message2').fadeIn('slow').addClass('alert').html('Validate your markup!'); Allows us to create complex yet easy to understand chains of actions
  • 18. jQuery Animations Animations Built in fadeIn() fadeOut() hide() show() slideDown() slideUp() toggle() slideToggle() fadeTo() animate() See also: Easing Plug-in jQuery User Interface: http://ui.jquery.com
  • 19. When is the DOM Ready? When is DOM ready? We can use the ready() function to find out $(document).ready(function() {    // Write Code Here });
  • 20. CSS & Attribute Matching Search with Tags and CSS: $('p'); $('p.message'); $('#message .text'); $('ul#menu > li'); $('ul#menuul'); Attribute Matching: $('img[@alt]'); $('a[@href*=google]');
  • 21. jQuery Events Don't add "onclick" to your markup: use jQuery to find and assign events $('#control').click(function() {    $('#message').show().addClass('alert');}); $('#control').toggle(function() {    $('#message').show().addClass('alert');}, function(){    $('#message').removeClass('alert').hide();});
  • 22. jQuery with Other Frameworks Mootools Prototype, etc Other frameworks also use the $ shortcut Add code like this before making any jQuery calls: varfoo = jQuery.noConflict(); Then use it like this: foo('#message').show();
  • 23. AHAH !?! AHAH style (Asynchronous HTML and HTTP) Easiest way of creating Asynchronous sites $('#control').click(function() {    $('#message').load('current.php');});
  • 24. AJAX with jQuery Asynchronous Javascript and XML AJAX - Processing the feed $('#demo5-1').click(function() { $('#headline-container').html('');    $.get('headlines.xml', function(rss){        $(rss).find('item title').each(function(index) {            $('#headline-container').append('<p>' + $(this).text() + '</p>');        });    });});
  • 25. Live Examples I can’t believe its not Flash!
  • 26. Links Facebook Search: http://demos.9lessons.info/auto.htm Photoslider: http://css-tricks.com/examples/AnythingSlider/#panel-5 Tabbed Manu: http://www.queness.com/resources/html/tabmenu/jquery-tabbed-menu-queness.html Flip: http://lab.smashup.it/flip/ Gallery: http://visuallightbox.com/photo-gallery-with-lightbox-simple-html-demo.html Zoom image: http://www.hotajax.org/demo/jquery/zoomimage/zoomimage/index.html Mac Dock: http://nettuts.s3.cdn.plus.org/358_jquery/example%20files/all-examples.html Site with jQuery: http://pupunzi.com/#welcome.html 3d Sphere in jQuery: http://www.devirtuoso.com/Examples/3D-Engine/sphere.html Chat Noir: www.vishalkumar.in/works/jscat
  • 28. Who’s using jQuery? Google Dell Bank of America Mozilla Drupal NetFlix NBC Digg
  • 29. How can I learn and use jQuery Check out jQuery.com Documentation Sites like www.jquerytutorials.com Plugins for many of the features Apply it to any web based application Change the way you develop websites, and bring life to the online experience!
  • 30. Closing Remarks Thank you for listening. If you have any queries, please feel free to ask . If you want to know how you can use a particular module of technology for your project or application, contact me at vishalkumar@gmail.com +91 9985 463 469
  • 31. References jQuery: www.jQuery.com jQuery 1.4 Reference Guide(Jan 2010), Pack Publishing www.noupe.com www.jquerytutorials.com http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/ www.google.com/images (search “jquery <feature>”)