SlideShare a Scribd company logo
Vishal Kumar06131A1258
IntroductionWhy you’re going to love jQuery!
IntroductionWhat we want to create?Dynamic Live WebsitesEffects filled Fast, responsive sitesWhat do we have?FlashJavaJavascript
The Solution : jQueryWhat 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 jQueryDeveloped by John ResigReleased v1.0 on November 26th, 2006Maintained as an Open Source software (dual licensed under MIT and GNU GPL)Microsoft planning to integrate into Microsoft Visual Web DeveloperNokia planning to integrate into Web Run-Time platformCurrently on Version 1.4, released
Features of jQueryDOM element selections using the cross-browser open source selector engine SizzleDOM traversal and modificationEventsCSS manipulationEffects and animationsAJAXExtensibility through pluginsUtilities - such as browser version and the each function.
A Few ExamplesFormsChatboxesMenusDropdownsSlidersTabsSlideshowsGames
jQuery Enhanced Forms
Menus and Dropdowns
Sliders and Slideshows
Technical ImplementationBecause, after all, we are I.T. folks.
jQuery ObjectThe jQuery ObjectContains a reference to the DOM elementHas properties of the DOM element, like text, html, tagsCan be used to manipulate the DOM directlyCan be nestedEvery jQuery Function Should return the same jQuery object
Using jQueryDownload 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 ClassUse it to access any part of the DOMSearch by CSS to get the element.Returns a jQuery object which can be futher manipulated
DOM TraversingDocument Object Model:The way of representing the Elements of a Document as ObjectsWay we represent HTML, XML, XHTMLFrom BODY, P, DIV, SPAN, etc. Any element can be accessed from its DOM structure
Chainable FunctionsChainable 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 AnimationsAnimationsBuilt infadeIn()fadeOut()hide()show()slideDown()slideUp()toggle()slideToggle()fadeTo()animate()See also:Easing Plug-injQuery 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 MatchingSearch with Tags and CSS:$('p');$('p.message');$('#message .text');$('ul#menu > li');$('ul#menuul');Attribute Matching:$('img[@alt]');$('a[@href*=google]');
jQuery EventsDon'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 FrameworksMootoolsPrototype, etcOther frameworks also use the $ shortcutAdd 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 jQueryAsynchronous Javascript and XMLAJAX - 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 ExamplesI can’t believe its not Flash!
LinksFacebook Search: 	http://demos.9lessons.info/auto.htmPhotoslider:		http://css-tricks.com/examples/AnythingSlider/#panel-5Tabbed Manu:	 http://www.queness.com/resources/html/tabmenu/jquery-tabbed-menu-queness.htmlFlip: 			http://lab.smashup.it/flip/Gallery:		http://visuallightbox.com/photo-gallery-with-lightbox-simple-html-demo.htmlZoom image: 	http://www.hotajax.org/demo/jquery/zoomimage/zoomimage/index.htmlMac Dock: http://nettuts.s3.cdn.plus.org/358_jquery/example%20files/all-examples.htmlSite with jQuery: 	http://pupunzi.com/#welcome.html3d Sphere in jQuery: 	http://www.devirtuoso.com/Examples/3D-Engine/sphere.htmlChat Noir: 		www.vishalkumar.in/works/jscat
ConclusionImpressed?
Who’s using jQuery?GoogleDellBank of AmericaMozillaDrupalNetFlixNBCDigg
How can I learn and use jQueryCheck out jQuery.com DocumentationSites like www.jquerytutorials.comPlugins for many of the featuresApply it to any web based applicationChange the way you develop websites, and bring life to the online experience!
Closing RemarksThank 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 atvishalkumar@gmail.com+91 9985 463 469
ReferencesjQuery: www.jQuery.comjQuery 1.4 Reference Guide(Jan 2010), Pack Publishingwww.noupe.comwww.jquerytutorials.comhttp://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/www.google.com/images (search “jquery <feature>”)

More Related Content

PPTX
Intro to jQuery
KEY
SproutCore is Awesome - HTML5 Summer DevFest
PPT
jQuery For Developers Stack Overflow Dev Days Toronto
ODP
Developing and testing ajax components
PPT
Ajax
DOCX
Shaping up with angular JS
DOCX
Directives
DOCX
Controller in AngularJS
Intro to jQuery
SproutCore is Awesome - HTML5 Summer DevFest
jQuery For Developers Stack Overflow Dev Days Toronto
Developing and testing ajax components
Ajax
Shaping up with angular JS
Directives
Controller in AngularJS

What's hot (20)

PPTX
AngularJS Introduction
KEY
jQuery Anti-Patterns for Performance & Compression
PDF
Introduction to AngularJS
PPTX
Angular directive filter and routing
DOCX
Filters in AngularJS
PPTX
Jquery mobile
DOCX
Built in filters
PDF
AngularJS best-practices
DOCX
Understanding angular js $rootscope and $scope
PPT
Using SVG with Ample SDK cross browser
KEY
Mobile HTML, CSS, and JavaScript
PPT
What's new and exciting with JSF 2.0
PPT
HTML5 Overview
PDF
AngularJS 101
PDF
Deep dive into AngularJs for Beginners
KEY
Plone Interactivity
PPT
Html5 Overview
PDF
Story Driven Development With Cucumber
PDF
1 ppt-ajax with-j_query
PPT
J query intro_29thsep_alok
AngularJS Introduction
jQuery Anti-Patterns for Performance & Compression
Introduction to AngularJS
Angular directive filter and routing
Filters in AngularJS
Jquery mobile
Built in filters
AngularJS best-practices
Understanding angular js $rootscope and $scope
Using SVG with Ample SDK cross browser
Mobile HTML, CSS, and JavaScript
What's new and exciting with JSF 2.0
HTML5 Overview
AngularJS 101
Deep dive into AngularJs for Beginners
Plone Interactivity
Html5 Overview
Story Driven Development With Cucumber
1 ppt-ajax with-j_query
J query intro_29thsep_alok
Ad

Viewers also liked (18)

PDF
PPT
JQuery: Introduction
PPTX
J Query Introduction And JQuery Selectors
PPTX
Javascript Best Practices and Intro to Titanium
PPTX
Introduction to my_sql
PDF
Group presentation 38
PPTX
J-Query Course Presentation
PPT
Javascript(2)
PPTX
Introduction to j_query
PDF
8 introduction to_java_script
PPTX
Java script
PPTX
Java script
PPT
Java script
PDF
Introduction to JavaScript
PPT
Javascript
PPT
JavaScript - An Introduction
PDF
reveal.js 3.0.0
PPTX
Slideshare.Com Powerpoint
JQuery: Introduction
J Query Introduction And JQuery Selectors
Javascript Best Practices and Intro to Titanium
Introduction to my_sql
Group presentation 38
J-Query Course Presentation
Javascript(2)
Introduction to j_query
8 introduction to_java_script
Java script
Java script
Java script
Introduction to JavaScript
Javascript
JavaScript - An Introduction
reveal.js 3.0.0
Slideshare.Com Powerpoint
Ad

Similar to J Query Presentation (20)

PPT
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
PPT
jQuery For Beginners - jQuery Conference 2009
PPT
Intro to jQuery - Tulsa Ruby Group
PPTX
Jqueryppt (1)
PDF
Introduction to jQuery (Ajax Exp 2007)
PPT
JQuery introduction
PPT
jQuery Introduction/ jquery basic concept
PPTX
JQuery_and_Ajax.pptx
PPT
J query presentation
PPT
J query presentation
PPTX
Introduction to Jquery
PPTX
J query resh
PPTX
Getting started with jQuery
PPT
Jquery
PPT
Jquery PPT_Finalfgfgdfgdr5tryeujkhdwappt
PPT
J query
PDF
jQuery (DrupalCamp Toronto)
PPTX
Jquery beltranhomewrok
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
jQuery For Beginners - jQuery Conference 2009
Intro to jQuery - Tulsa Ruby Group
Jqueryppt (1)
Introduction to jQuery (Ajax Exp 2007)
JQuery introduction
jQuery Introduction/ jquery basic concept
JQuery_and_Ajax.pptx
J query presentation
J query presentation
Introduction to Jquery
J query resh
Getting started with jQuery
Jquery
Jquery PPT_Finalfgfgdfgdr5tryeujkhdwappt
J query
jQuery (DrupalCamp Toronto)
Jquery beltranhomewrok

Recently uploaded (20)

PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Empathic Computing: Creating Shared Understanding
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Cloud computing and distributed systems.
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Machine learning based COVID-19 study performance prediction
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Network Security Unit 5.pdf for BCA BBA.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Empathic Computing: Creating Shared Understanding
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
The AUB Centre for AI in Media Proposal.docx
Unlocking AI with Model Context Protocol (MCP)
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Mobile App Security Testing_ A Comprehensive Guide.pdf
Cloud computing and distributed systems.
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Machine learning based COVID-19 study performance prediction
MIND Revenue Release Quarter 2 2025 Press Release
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Dropbox Q2 2025 Financial Results & Investor Presentation
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Review of recent advances in non-invasive hemoglobin estimation
Network Security Unit 5.pdf for BCA BBA.

J Query Presentation

  • 3. IntroductionWhat we want to create?Dynamic Live WebsitesEffects filled Fast, responsive sitesWhat do we have?FlashJavaJavascript
  • 4. The Solution : jQueryWhat 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 jQueryDeveloped by John ResigReleased v1.0 on November 26th, 2006Maintained as an Open Source software (dual licensed under MIT and GNU GPL)Microsoft planning to integrate into Microsoft Visual Web DeveloperNokia planning to integrate into Web Run-Time platformCurrently on Version 1.4, released
  • 6. Features of jQueryDOM element selections using the cross-browser open source selector engine SizzleDOM traversal and modificationEventsCSS manipulationEffects and animationsAJAXExtensibility through pluginsUtilities - such as browser version and the each function.
  • 11. Technical ImplementationBecause, after all, we are I.T. folks.
  • 12. jQuery ObjectThe jQuery ObjectContains a reference to the DOM elementHas properties of the DOM element, like text, html, tagsCan be used to manipulate the DOM directlyCan be nestedEvery jQuery Function Should return the same jQuery object
  • 13. Using jQueryDownload 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>
  • 15. The $ Symbol$ is the Shortcut for the jQuery Global ClassUse it to access any part of the DOMSearch by CSS to get the element.Returns a jQuery object which can be futher manipulated
  • 16. DOM TraversingDocument Object Model:The way of representing the Elements of a Document as ObjectsWay we represent HTML, XML, XHTMLFrom BODY, P, DIV, SPAN, etc. Any element can be accessed from its DOM structure
  • 17. Chainable FunctionsChainable 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
  • 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 MatchingSearch with Tags and CSS:$('p');$('p.message');$('#message .text');$('ul#menu > li');$('ul#menuul');Attribute Matching:$('img[@alt]');$('a[@href*=google]');
  • 21. jQuery EventsDon'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 FrameworksMootoolsPrototype, etcOther frameworks also use the $ shortcutAdd 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 jQueryAsynchronous Javascript and XMLAJAX - 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 ExamplesI can’t believe its not Flash!
  • 26. LinksFacebook Search: http://demos.9lessons.info/auto.htmPhotoslider: http://css-tricks.com/examples/AnythingSlider/#panel-5Tabbed Manu: http://www.queness.com/resources/html/tabmenu/jquery-tabbed-menu-queness.htmlFlip: http://lab.smashup.it/flip/Gallery: http://visuallightbox.com/photo-gallery-with-lightbox-simple-html-demo.htmlZoom image: http://www.hotajax.org/demo/jquery/zoomimage/zoomimage/index.htmlMac Dock: http://nettuts.s3.cdn.plus.org/358_jquery/example%20files/all-examples.htmlSite with jQuery: http://pupunzi.com/#welcome.html3d Sphere in jQuery: http://www.devirtuoso.com/Examples/3D-Engine/sphere.htmlChat Noir: www.vishalkumar.in/works/jscat
  • 28. Who’s using jQuery?GoogleDellBank of AmericaMozillaDrupalNetFlixNBCDigg
  • 29. How can I learn and use jQueryCheck out jQuery.com DocumentationSites like www.jquerytutorials.comPlugins for many of the featuresApply it to any web based applicationChange the way you develop websites, and bring life to the online experience!
  • 30. Closing RemarksThank 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 atvishalkumar@gmail.com+91 9985 463 469
  • 31. ReferencesjQuery: www.jQuery.comjQuery 1.4 Reference Guide(Jan 2010), Pack Publishingwww.noupe.comwww.jquerytutorials.comhttp://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/www.google.com/images (search “jquery <feature>”)