SlideShare uma empresa 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>”)

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Destaque

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
 

Destaque (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
 

Semelhante 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
 

Semelhante 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

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
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
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Último (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

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>”)