SlideShare una empresa de Scribd logo
1 de 113
Bring a Web Page Alive with
jQuery




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Objectives




         Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Objectives
  • Learn about how you can use jQuery to change
    Web page content and structure




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Objectives
  • Learn about how you can use jQuery to change
    Web page content and structure
  • See how you can use jQuery animations to make
    a page come alive and enhance its usability




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Objectives
  • Learn about how you can use jQuery to change
    Web page content and structure
  • See how you can use jQuery animations to make
    a page come alive and enhance its usability
  • Explore the jQuery UI library to add rich
    functionality to a page’s user interface




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Introduction




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Introduction
  • Once you know the basics of jQuery, there are
    many ways to put it to use




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Introduction
  • Once you know the basics of jQuery, there are
    many ways to put it to use
  • Need to find a balance between using HTML/CSS
    and jQuery




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Introduction
  • Once you know the basics of jQuery, there are
    many ways to put it to use
  • Need to find a balance between using HTML/CSS
    and jQuery
  • In general, to implement a design feature:




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Introduction
  • Once you know the basics of jQuery, there are
    many ways to put it to use
  • Need to find a balance between using HTML/CSS
    and jQuery
  • In general, to implement a design feature:
    1. Use HTML when you can




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Introduction
  • Once you know the basics of jQuery, there are
    many ways to put it to use
  • Need to find a balance between using HTML/CSS
    and jQuery
  • In general, to implement a design feature:
    1. Use HTML when you can
    2. If HTML can’t do it, use CSS




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Introduction
  • Once you know the basics of jQuery, there are
    many ways to put it to use
  • Need to find a balance between using HTML/CSS
    and jQuery
  • In general, to implement a design feature:
    1. Use HTML when you can
    2. If HTML can’t do it, use CSS
    3. If CSS can’t do it, use jQuery



             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Introduction
  • Once you know the basics of jQuery, there are
    many ways to put it to use
  • Need to find a balance between using HTML/CSS
    and jQuery
  • In general, to implement a design feature:
    1. Use HTML when you can
    2. If HTML can’t do it, use CSS
    3. If CSS can’t do it, use jQuery
  • Design with progressive enhancement

             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Introduction
  • Once you know the basics of jQuery, there are
    many ways to put it to use
  • Need to find a balance between using HTML/CSS
    and jQuery
  • In general, to implement a design feature:
    1. Use HTML when you can
    2. If HTML can’t do it, use CSS
    3. If CSS can’t do it, use jQuery
  • Design with progressive enhancement
  • We’ll go beyond HTML and CSS here
             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Work with Page Elements




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Work with Page Elements
   • Probably the most common thing you’ll do




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Work with Page Elements
   • Probably the most common thing you’ll do
      Make changes based on user or environment




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Work with Page Elements
   • Probably the most common thing you’ll do
      Make changes based on user or environment
   • Manipulating CSS with jQuery




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Work with Page Elements
   • Probably the most common thing you’ll do
      Make changes based on user or environment
   • Manipulating CSS with jQuery
      Read and write CSS properties




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Work with Page Elements
   • Probably the most common thing you’ll do
      Make changes based on user or environment
   • Manipulating CSS with jQuery
      Read and write CSS properties
      Add and remove CSS classes




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Hiding and Showing Page Elements




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Hiding and Showing Page Elements

  • Use the show, hide, and toggle methods




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Hiding and Showing Page Elements

  • Use the show, hide, and toggle methods
  • Works by setting CSS display property




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Changing Element Content




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Changing Element Content
  • Not limited to changing appearance




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Changing Element Content
  • Not limited to changing appearance
     text method




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Changing Element Content
  • Not limited to changing appearance
     text method
     html method




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Changing Element Content
  • Not limited to changing appearance
     text method
     html method
     val method




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Changing Element Content
  • Not limited to changing appearance
     text method
     html method
     val method
  • When used to read content, get content only
    from first element in matched set




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Changing Element Content
  • Not limited to changing appearance
     text method
     html method
     val method
  • When used to read content, get content only
    from first element in matched set
  • When used to write content, affects all elements
    in the set



            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Adding and Removing Page




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Adding and Removing Page
  • Can dynamically add and remove elements




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Adding and Removing Page
  • Can dynamically add and remove elements
     Rewrite the page on the fly with jQuery




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Adding and Removing Page
  • Can dynamically add and remove elements
     Rewrite the page on the fly with jQuery
     Possible in JavaScript, but hard




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Adding and Removing Page
  • Can dynamically add and remove elements
     Rewrite the page on the fly with jQuery
     Possible in JavaScript, but hard
  • html method can sort of add elements




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Adding and Removing Page
  • Can dynamically add and remove elements
     Rewrite the page on the fly with jQuery
     Possible in JavaScript, but hard
  • html method can sort of add elements
     Requires that you build a string




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Adding and Removing Page
  • Can dynamically add and remove elements
     Rewrite the page on the fly with jQuery
     Possible in JavaScript, but hard
  • html method can sort of add elements
     Requires that you build a string
  • Methods




              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
Adding and Removing Page
  • Can dynamically add and remove elements
     Rewrite the page on the fly with jQuery
     Possible in JavaScript, but hard
  • html method can sort of add elements
     Requires that you build a string
  • Methods
     insertBefore and insertAfter methods




              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
Adding and Removing Page
  • Can dynamically add and remove elements
     Rewrite the page on the fly with jQuery
     Possible in JavaScript, but hard
  • html method can sort of add elements
     Requires that you build a string
  • Methods
     insertBefore and insertAfter methods
     prependTo and appendTo methods



              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
Adding and Removing Page
  • Can dynamically add and remove elements
     Rewrite the page on the fly with jQuery
     Possible in JavaScript, but hard
  • html method can sort of add elements
     Requires that you build a string
  • Methods
     insertBefore and insertAfter methods
     prependTo and appendTo methods
     remove method


              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
Adding and Removing Page
  • Can dynamically add and remove elements
     Rewrite the page on the fly with jQuery
     Possible in JavaScript, but hard
  • html method can sort of add elements
     Requires that you build a string
  • Methods
     insertBefore and insertAfter methods
     prependTo and appendTo methods
     remove method
  • Changes only the in-memory DOM
              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
Use Animations and Effects




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Use Animations and Effects
  • DOM enables dynamic effects




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Use Animations and Effects
  • DOM enables dynamic effects
     JavaScript makes it all possible




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Use Animations and Effects
  • DOM enables dynamic effects
     JavaScript makes it all possible
     But can be overwhelming




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Use Animations and Effects
  • DOM enables dynamic effects
     JavaScript makes it all possible
     But can be overwhelming
  • Perfect task for jQuery




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Use Animations and Effects
  • DOM enables dynamic effects
     JavaScript makes it all possible
     But can be overwhelming
  • Perfect task for jQuery
     Core library includes basic animation support




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Use Animations and Effects
  • DOM enables dynamic effects
     JavaScript makes it all possible
     But can be overwhelming
  • Perfect task for jQuery
     Core library includes basic animation support
     Provides tools to enhance pages




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Use Animations and Effects
  • DOM enables dynamic effects
     JavaScript makes it all possible
     But can be overwhelming
  • Perfect task for jQuery
     Core library includes basic animation support
     Provides tools to enhance pages
     Remember that there are extensions




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Use Animations and Effects
  • DOM enables dynamic effects
     JavaScript makes it all possible
     But can be overwhelming
  • Perfect task for jQuery
     Core library includes basic animation support
     Provides tools to enhance pages
     Remember that there are extensions
  • Don’t get carried away!


             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Hovering Effects




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Hovering Effects
   • Commonly need to change appearance when mouse
     hovers over an element




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Hovering Effects
   • Commonly need to change appearance when mouse
     hovers over an element
   • Several methods




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Hovering Effects
   • Commonly need to change appearance when mouse
     hovers over an element
   • Several methods
      mouseover and mouseout methods




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Hovering Effects
   • Commonly need to change appearance when mouse
     hovers over an element
   • Several methods
      mouseover and mouseout methods
      mousedown and mouseup methods




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Hovering Effects
   • Commonly need to change appearance when mouse
     hovers over an element
   • Several methods
      mouseover and mouseout methods
      mousedown and mouseup methods
      mouseenter and mouseleave methods




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Hovering Effects
   • Commonly need to change appearance when mouse
     hovers over an element
   • Several methods
      mouseover and mouseout methods
      mousedown and mouseup methods
      mouseenter and mouseleave methods
   • Sample page




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Hovering Effects
   • Commonly need to change appearance when mouse
     hovers over an element
   • Several methods
      mouseover and mouseout methods
      mousedown and mouseup methods
      mouseenter and mouseleave methods
   • Sample page
      Mouse over row in table




              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
Hovering Effects
   • Commonly need to change appearance when mouse
     hovers over an element
   • Several methods
      mouseover and mouseout methods
      mousedown and mouseup methods
      mouseenter and mouseleave methods
   • Sample page
      Mouse over row in table
      User clicks a row in table




               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
Hovering Effects
   • Commonly need to change appearance when mouse
     hovers over an element
   • Several methods
      mouseover and mouseout methods
      mousedown and mouseup methods
      mouseenter and mouseleave methods
   • Sample page
      Mouse over row in table
      User clicks a row in table
      Button can toggle row click highlighting


               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
Hovering Effects
   • Commonly need to change appearance when mouse
     hovers over an element
   • Several methods
      mouseover and mouseout methods
      mousedown and mouseup methods
      mouseenter and mouseleave methods
   • Sample page
        Mouse over row in table
        User clicks a row in table
        Button can toggle row click highlighting
        Button clears all click highlights

                Learn More @ http://www.learnnowonline.com
                   Copyright © by Application Developers Training Company
Hiding and Showing Content




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Hiding and Showing Content
  • Can animate appearance and disappearance of
    content




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Hiding and Showing Content
  • Can animate appearance and disappearance of
    content
     Avoids sudden jarring changes to page




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Hiding and Showing Content
  • Can animate appearance and disappearance of
    content
     Avoids sudden jarring changes to page
     Don’t have to last long




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Hiding and Showing Content
  • Can animate appearance and disappearance of
    content
     Avoids sudden jarring changes to page
     Don’t have to last long
  • Two types of methods




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Hiding and Showing Content
  • Can animate appearance and disappearance of
    content
     Avoids sudden jarring changes to page
     Don’t have to last long
  • Two types of methods
     Dedicated animation methods




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Hiding and Showing Content
  • Can animate appearance and disappearance of
    content
     Avoids sudden jarring changes to page
     Don’t have to last long
  • Two types of methods
     Dedicated animation methods
     Methods that animate incidentally




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
The animate Method




        Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
The animate Method

  • All animation methods so far have been focused




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
The animate Method

  • All animation methods so far have been focused
      Some flexibility, but not much




               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
The animate Method

  • All animation methods so far have been focused
      Some flexibility, but not much
  • When other methods fall short, use animate()




               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
The animate Method

  • All animation methods so far have been focused
      Some flexibility, but not much
  • When other methods fall short, use animate()
      All other animation methods use this one




               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
The animate Method

  • All animation methods so far have been focused
      Some flexibility, but not much
  • When other methods fall short, use animate()
      All other animation methods use this one
      Method is flexible and customizable




               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
The animate Method

  • All animation methods so far have been focused
      Some flexibility, but not much
  • When other methods fall short, use animate()
      All other animation methods use this one
      Method is flexible and customizable
      Will have to do some work




               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
The animate Method

  • All animation methods so far have been focused
      Some flexibility, but not much
  • When other methods fall short, use animate()
      All other animation methods use this one
      Method is flexible and customizable
      Will have to do some work
  • Works by letting you set targets for CSS properties




               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
The animate Method

  • All animation methods so far have been focused
      Some flexibility, but not much
  • When other methods fall short, use animate()
      All other animation methods use this one
      Method is flexible and customizable
      Will have to do some work
  • Works by letting you set targets for CSS properties
      Starts at current calculated value




               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
The animate Method

  • All animation methods so far have been focused
      Some flexibility, but not much
  • When other methods fall short, use animate()
      All other animation methods use this one
      Method is flexible and customizable
      Will have to do some work
  • Works by letting you set targets for CSS properties
      Starts at current calculated value
      Transitions to the new value



               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
The animate Method

  • All animation methods so far have been focused
      Some flexibility, but not much
  • When other methods fall short, use animate()
      All other animation methods use this one
      Method is flexible and customizable
      Will have to do some work
  • Works by letting you set targets for CSS properties
      Starts at current calculated value
      Transitions to the new value
  • Perform singly or chain together

               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
Forms of animate()




        Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
Forms of animate()
 • Pass a JavaScript object literal




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Forms of animate()
 • Pass a JavaScript object literal
     .animate( properties, [duration],
      [easing], [complete] )




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Forms of animate()
 • Pass a JavaScript object literal
     .animate( properties, [duration],
      [easing], [complete] )
 • Pass properties and options




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Forms of animate()
 • Pass a JavaScript object literal
     .animate( properties, [duration],
      [easing], [complete] )
 • Pass properties and options
     .animate( properties, options )




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Forms of animate()
 • Pass a JavaScript object literal
     .animate( properties, [duration],
      [easing], [complete] )
 • Pass properties and options
     .animate( properties, options )
 • Properties is the only required argument




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Forms of animate()
 • Pass a JavaScript object literal
     .animate( properties, [duration],
      [easing], [complete] )
 • Pass properties and options
     .animate( properties, options )
 • Properties is the only required argument
     Default values are pixels (px), but em and % work




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Forms of animate()
 • Pass a JavaScript object literal
     .animate( properties, [duration],
      [easing], [complete] )
 • Pass properties and options
     .animate( properties, options )
 • Properties is the only required argument
     Default values are pixels (px), but em and % work
     Can animate a few non CSS properties



             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Forms of animate()
 • Pass a JavaScript object literal
     .animate( properties, [duration],
      [easing], [complete] )
 • Pass properties and options
     .animate( properties, options )
 • Properties is the only required argument
     Default values are pixels (px), but em and % work
     Can animate a few non CSS properties
     Make relative changes with += and -=


             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Limitations to animate()




        Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
Limitations to animate()

 • Can only set single numeric CSS properties




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Limitations to animate()

 • Can only set single numeric CSS properties
 • Doesn’t support shorthand CSS properties




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Limitations to animate()

 • Can only set single numeric CSS properties
 • Doesn’t support shorthand CSS properties
 • Multiword property names must be camel cased




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Limitations to animate()

 • Can only set single numeric CSS properties
 • Doesn’t support shorthand CSS properties
 • Multiword property names must be camel cased
    backgroundColor




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Limitations to animate()

 • Can only set single numeric CSS properties
 • Doesn’t support shorthand CSS properties
 • Multiword property names must be camel cased
    backgroundColor
    borderRight




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
The jQuery User Interface Library




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
The jQuery User Interface Library

   • Makes use of CSS-based themes




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
The jQuery User Interface Library

   • Makes use of CSS-based themes
   • Easy to see why Microsoft adopted jQuery!




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
The jQuery User Interface Library

   • Makes use of CSS-based themes
   • Easy to see why Microsoft adopted jQuery!
       No brainer to also embrace jQuery UI




              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
Downloading the jQuery UI Library




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Downloading the jQuery UI Library

  • Huge library if you include every feature




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Downloading the jQuery UI Library

  • Huge library if you include every feature
     Split into many files




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Downloading the jQuery UI Library

  • Huge library if you include every feature
     Split into many files
     Use whatever you need




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Downloading the jQuery UI Library

  • Huge library if you include every feature
     Split into many files
     Use whatever you need
  • Can customize the library download




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Creating a jQuery UI Library Theme




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Creating a jQuery UI Library Theme

   • Highly unlikely that standard themes will work
     for you perfectly




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Creating a jQuery UI Library Theme

   • Highly unlikely that standard themes will work
     for you perfectly
      CSS files are fairly complex, so hard to create from
       scratch




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Creating a jQuery UI Library Theme

   • Highly unlikely that standard themes will work
     for you perfectly
      CSS files are fairly complex, so hard to create from
       scratch
      May just need to tweak a standard theme




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Creating a jQuery UI Library Theme

   • Highly unlikely that standard themes will work
     for you perfectly
      CSS files are fairly complex, so hard to create from
       scratch
      May just need to tweak a standard theme
      Use the ThemeRoller tool




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Learn More!




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Learn More!
• This is an excerpt from a larger course. Visit
  www.learnnowonline.com for the full details!




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Learn More!
• This is an excerpt from a larger course. Visit
  www.learnnowonline.com for the full details!




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Learn More!
• This is an excerpt from a larger course. Visit
  www.learnnowonline.com for the full details!


• Learn more about jQuery on SlideShare!




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Learn More!
• This is an excerpt from a larger course. Visit
  www.learnnowonline.com for the full details!


• Learn more about jQuery on SlideShare!
   The jQuery Library




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company

Más contenido relacionado

La actualidad más candente

WordPress Optimisation - A4UExpo
WordPress Optimisation - A4UExpoWordPress Optimisation - A4UExpo
WordPress Optimisation - A4UExpoJoost de Valk
 
SharePoint Re-branding The VisualStudio Way Part One SandBox Solution
SharePoint Re-branding The VisualStudio Way Part One SandBox SolutionSharePoint Re-branding The VisualStudio Way Part One SandBox Solution
SharePoint Re-branding The VisualStudio Way Part One SandBox SolutionIfeanyi I Nwodo(De Jeneral)
 
Media presentation
Media presentationMedia presentation
Media presentationasmediae15
 
How to Start a WordPress Blog easily (from A to Z)
How to Start a WordPress Blog easily (from A to Z)How to Start a WordPress Blog easily (from A to Z)
How to Start a WordPress Blog easily (from A to Z)Peter Nguyen
 
2014 WordCamp Miami - Troubleshooting Common WordPress Issues
2014 WordCamp Miami - Troubleshooting Common WordPress Issues2014 WordCamp Miami - Troubleshooting Common WordPress Issues
2014 WordCamp Miami - Troubleshooting Common WordPress IssuesGabriela Levit
 
Progressively Enhancing WordPress Themes
Progressively Enhancing WordPress ThemesProgressively Enhancing WordPress Themes
Progressively Enhancing WordPress ThemesDigitally
 
Wordpress for Business
Wordpress for BusinessWordpress for Business
Wordpress for BusinessAndrew Marks
 
Flexible web publishing with Expression Engine
Flexible web publishing with Expression EngineFlexible web publishing with Expression Engine
Flexible web publishing with Expression EngineHarvard Web Working Group
 
Build the Perfect WordPress Website
Build the Perfect WordPress WebsiteBuild the Perfect WordPress Website
Build the Perfect WordPress WebsiteSinergia Labs
 
40 of the Most Popular WordPress Plugins
40 of the Most Popular WordPress Plugins40 of the Most Popular WordPress Plugins
40 of the Most Popular WordPress PluginsChris Burgess
 
Transform Teaching and Learning with ThingLink
Transform Teaching and Learning with ThingLinkTransform Teaching and Learning with ThingLink
Transform Teaching and Learning with ThingLinksusanoxnevad
 
ThingLink for Video
ThingLink for VideoThingLink for Video
ThingLink for VideoThingLink
 
OERs Licensing of E Content in MOOCs
OERs Licensing of E Content in MOOCs OERs Licensing of E Content in MOOCs
OERs Licensing of E Content in MOOCs Parveen Kumar Sharma
 
Drag-and-drop WordPress Themes, featuring Themify Builder
Drag-and-drop WordPress Themes, featuring Themify BuilderDrag-and-drop WordPress Themes, featuring Themify Builder
Drag-and-drop WordPress Themes, featuring Themify BuilderEast Bay WordPress Meetup
 
AJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD ModuleAJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD ModuleCharlie Perrins
 

La actualidad más candente (20)

WordPress Optimisation - A4UExpo
WordPress Optimisation - A4UExpoWordPress Optimisation - A4UExpo
WordPress Optimisation - A4UExpo
 
SharePoint Re-branding The VisualStudio Way Part One SandBox Solution
SharePoint Re-branding The VisualStudio Way Part One SandBox SolutionSharePoint Re-branding The VisualStudio Way Part One SandBox Solution
SharePoint Re-branding The VisualStudio Way Part One SandBox Solution
 
Media presentation
Media presentationMedia presentation
Media presentation
 
How to Start a WordPress Blog easily (from A to Z)
How to Start a WordPress Blog easily (from A to Z)How to Start a WordPress Blog easily (from A to Z)
How to Start a WordPress Blog easily (from A to Z)
 
SEO FOR WORDPRESS
SEO FOR WORDPRESSSEO FOR WORDPRESS
SEO FOR WORDPRESS
 
2014 WordCamp Miami - Troubleshooting Common WordPress Issues
2014 WordCamp Miami - Troubleshooting Common WordPress Issues2014 WordCamp Miami - Troubleshooting Common WordPress Issues
2014 WordCamp Miami - Troubleshooting Common WordPress Issues
 
Progressively Enhancing WordPress Themes
Progressively Enhancing WordPress ThemesProgressively Enhancing WordPress Themes
Progressively Enhancing WordPress Themes
 
Wordpress for Business
Wordpress for BusinessWordpress for Business
Wordpress for Business
 
Flexible web publishing with Expression Engine
Flexible web publishing with Expression EngineFlexible web publishing with Expression Engine
Flexible web publishing with Expression Engine
 
Offpage SEO Training
Offpage SEO TrainingOffpage SEO Training
Offpage SEO Training
 
Training on Search Engine Optimization Basics
Training on Search Engine Optimization BasicsTraining on Search Engine Optimization Basics
Training on Search Engine Optimization Basics
 
Build the Perfect WordPress Website
Build the Perfect WordPress WebsiteBuild the Perfect WordPress Website
Build the Perfect WordPress Website
 
40 of the Most Popular WordPress Plugins
40 of the Most Popular WordPress Plugins40 of the Most Popular WordPress Plugins
40 of the Most Popular WordPress Plugins
 
Hindu college may 09 20
Hindu college may 09 20Hindu college may 09 20
Hindu college may 09 20
 
Evaluation Question 4
Evaluation Question 4Evaluation Question 4
Evaluation Question 4
 
Transform Teaching and Learning with ThingLink
Transform Teaching and Learning with ThingLinkTransform Teaching and Learning with ThingLink
Transform Teaching and Learning with ThingLink
 
ThingLink for Video
ThingLink for VideoThingLink for Video
ThingLink for Video
 
OERs Licensing of E Content in MOOCs
OERs Licensing of E Content in MOOCs OERs Licensing of E Content in MOOCs
OERs Licensing of E Content in MOOCs
 
Drag-and-drop WordPress Themes, featuring Themify Builder
Drag-and-drop WordPress Themes, featuring Themify BuilderDrag-and-drop WordPress Themes, featuring Themify Builder
Drag-and-drop WordPress Themes, featuring Themify Builder
 
AJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD ModuleAJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD Module
 

Destacado

RedHat-System Administration I - RH124
RedHat-System Administration I - RH124RedHat-System Administration I - RH124
RedHat-System Administration I - RH124Nikola Tokić
 
jQuery Stack Overflow DevDays DC 2009
jQuery Stack Overflow DevDays DC 2009jQuery Stack Overflow DevDays DC 2009
jQuery Stack Overflow DevDays DC 2009Richard D. Worth
 
Anatomy of Fraud (2010 & 2013)
Anatomy of Fraud (2010 & 2013)Anatomy of Fraud (2010 & 2013)
Anatomy of Fraud (2010 & 2013)Jerry Ocampo
 
SydPHP Security in PHP
SydPHP Security in PHPSydPHP Security in PHP
SydPHP Security in PHPAllan Shone
 
Php Security Workshop
Php Security WorkshopPhp Security Workshop
Php Security WorkshopAung Khant
 
CSS3 and jQuery
CSS3 and jQueryCSS3 and jQuery
CSS3 and jQuerypsophy
 
Scalable Internet Servers and Load Balancing
Scalable Internet Servers and Load BalancingScalable Internet Servers and Load Balancing
Scalable Internet Servers and Load BalancingInformation Technology
 
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...Jeremiah Grossman
 
Memphis php 01 22-13 - laravel basics
Memphis php 01 22-13 - laravel basicsMemphis php 01 22-13 - laravel basics
Memphis php 01 22-13 - laravel basicsJoe Ferguson
 
Effective communication
Effective communicationEffective communication
Effective communicationhussulinux
 
PHP Advanced
PHP AdvancedPHP Advanced
PHP AdvancedNoveo
 
HTML5 & WAI-ARIA Forms with jQuery Validation
HTML5 & WAI-ARIA Forms with jQuery ValidationHTML5 & WAI-ARIA Forms with jQuery Validation
HTML5 & WAI-ARIA Forms with jQuery Validationpauljadam
 
LAMP Management with Virtualmin
LAMP Management with VirtualminLAMP Management with Virtualmin
LAMP Management with VirtualminJoe Ferguson
 
Php, mysq lpart4(processing html form)
Php, mysq lpart4(processing html form)Php, mysq lpart4(processing html form)
Php, mysq lpart4(processing html form)Subhasis Nayak
 
Zero to Hero, a jQuery Primer
Zero to Hero, a jQuery PrimerZero to Hero, a jQuery Primer
Zero to Hero, a jQuery PrimerMatthew Buchanan
 
Red Hat Training México /// Calendario de cursos 2016
Red Hat Training México /// Calendario de cursos 2016Red Hat Training México /// Calendario de cursos 2016
Red Hat Training México /// Calendario de cursos 2016Red Hat
 

Destacado (20)

Using unicode with php
Using unicode with phpUsing unicode with php
Using unicode with php
 
RedHat-System Administration I - RH124
RedHat-System Administration I - RH124RedHat-System Administration I - RH124
RedHat-System Administration I - RH124
 
jQuery Stack Overflow DevDays DC 2009
jQuery Stack Overflow DevDays DC 2009jQuery Stack Overflow DevDays DC 2009
jQuery Stack Overflow DevDays DC 2009
 
Web Security
Web SecurityWeb Security
Web Security
 
Anatomy of Fraud (2010 & 2013)
Anatomy of Fraud (2010 & 2013)Anatomy of Fraud (2010 & 2013)
Anatomy of Fraud (2010 & 2013)
 
SydPHP Security in PHP
SydPHP Security in PHPSydPHP Security in PHP
SydPHP Security in PHP
 
Php Security Workshop
Php Security WorkshopPhp Security Workshop
Php Security Workshop
 
Apache Web Server Setup 2
Apache Web Server Setup 2Apache Web Server Setup 2
Apache Web Server Setup 2
 
CSS3 and jQuery
CSS3 and jQueryCSS3 and jQuery
CSS3 and jQuery
 
Scalable Internet Servers and Load Balancing
Scalable Internet Servers and Load BalancingScalable Internet Servers and Load Balancing
Scalable Internet Servers and Load Balancing
 
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
 
Memphis php 01 22-13 - laravel basics
Memphis php 01 22-13 - laravel basicsMemphis php 01 22-13 - laravel basics
Memphis php 01 22-13 - laravel basics
 
Effective communication
Effective communicationEffective communication
Effective communication
 
A brief look inside UML
A brief look inside UMLA brief look inside UML
A brief look inside UML
 
PHP Advanced
PHP AdvancedPHP Advanced
PHP Advanced
 
HTML5 & WAI-ARIA Forms with jQuery Validation
HTML5 & WAI-ARIA Forms with jQuery ValidationHTML5 & WAI-ARIA Forms with jQuery Validation
HTML5 & WAI-ARIA Forms with jQuery Validation
 
LAMP Management with Virtualmin
LAMP Management with VirtualminLAMP Management with Virtualmin
LAMP Management with Virtualmin
 
Php, mysq lpart4(processing html form)
Php, mysq lpart4(processing html form)Php, mysq lpart4(processing html form)
Php, mysq lpart4(processing html form)
 
Zero to Hero, a jQuery Primer
Zero to Hero, a jQuery PrimerZero to Hero, a jQuery Primer
Zero to Hero, a jQuery Primer
 
Red Hat Training México /// Calendario de cursos 2016
Red Hat Training México /// Calendario de cursos 2016Red Hat Training México /// Calendario de cursos 2016
Red Hat Training México /// Calendario de cursos 2016
 

Similar a Bring a Web Page Alive with jQuery

Object oriented techniques
Object oriented techniquesObject oriented techniques
Object oriented techniquesLearnNowOnline
 
Object-Oriented JavaScript
Object-Oriented JavaScriptObject-Oriented JavaScript
Object-Oriented JavaScriptLearnNowOnline
 
KnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVCKnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVCLearnNowOnline
 
What's new in Silverlight 5
What's new in Silverlight 5What's new in Silverlight 5
What's new in Silverlight 5LearnNowOnline
 
Building Windows 8 Metro Style Applications Using JavaScript and HTML5
Building Windows 8 Metro Style Applications Using JavaScript and HTML5Building Windows 8 Metro Style Applications Using JavaScript and HTML5
Building Windows 8 Metro Style Applications Using JavaScript and HTML5LearnNowOnline
 
SharePoint Document Management
SharePoint Document ManagementSharePoint Document Management
SharePoint Document ManagementLearnNowOnline
 
Expression Blend Motion & Interaction Design
Expression Blend Motion & Interaction DesignExpression Blend Motion & Interaction Design
Expression Blend Motion & Interaction DesignLearnNowOnline
 
.NET Variables and Data Types
.NET Variables and Data Types.NET Variables and Data Types
.NET Variables and Data TypesLearnNowOnline
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVCLearnNowOnline
 
.Net branching and flow control
.Net branching and flow control.Net branching and flow control
.Net branching and flow controlLearnNowOnline
 
JavaScript: Operators and Expressions
JavaScript: Operators and ExpressionsJavaScript: Operators and Expressions
JavaScript: Operators and ExpressionsLearnNowOnline
 
Creating a User Interface
Creating a User InterfaceCreating a User Interface
Creating a User InterfaceLearnNowOnline
 
New in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDENew in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDELearnNowOnline
 
Using The .NET Framework
Using The .NET FrameworkUsing The .NET Framework
Using The .NET FrameworkLearnNowOnline
 
Web Components in Action: building reusable components for web development
Web Components in Action: building reusable components for web developmentWeb Components in Action: building reusable components for web development
Web Components in Action: building reusable components for web developmentManning Publications
 

Similar a Bring a Web Page Alive with jQuery (20)

Object oriented techniques
Object oriented techniquesObject oriented techniques
Object oriented techniques
 
Object-Oriented JavaScript
Object-Oriented JavaScriptObject-Oriented JavaScript
Object-Oriented JavaScript
 
KnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVCKnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVC
 
The Entity Data Model
The Entity Data ModelThe Entity Data Model
The Entity Data Model
 
What's new in Silverlight 5
What's new in Silverlight 5What's new in Silverlight 5
What's new in Silverlight 5
 
WPF Binding
WPF BindingWPF Binding
WPF Binding
 
Web API Basics
Web API BasicsWeb API Basics
Web API Basics
 
Building Windows 8 Metro Style Applications Using JavaScript and HTML5
Building Windows 8 Metro Style Applications Using JavaScript and HTML5Building Windows 8 Metro Style Applications Using JavaScript and HTML5
Building Windows 8 Metro Style Applications Using JavaScript and HTML5
 
SharePoint Document Management
SharePoint Document ManagementSharePoint Document Management
SharePoint Document Management
 
Expression Blend Motion & Interaction Design
Expression Blend Motion & Interaction DesignExpression Blend Motion & Interaction Design
Expression Blend Motion & Interaction Design
 
.NET Variables and Data Types
.NET Variables and Data Types.NET Variables and Data Types
.NET Variables and Data Types
 
Web API HTTP Pipeline
Web API HTTP PipelineWeb API HTTP Pipeline
Web API HTTP Pipeline
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVC
 
.Net branching and flow control
.Net branching and flow control.Net branching and flow control
.Net branching and flow control
 
JavaScript: Operators and Expressions
JavaScript: Operators and ExpressionsJavaScript: Operators and Expressions
JavaScript: Operators and Expressions
 
Content Optimization
Content OptimizationContent Optimization
Content Optimization
 
Creating a User Interface
Creating a User InterfaceCreating a User Interface
Creating a User Interface
 
New in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDENew in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDE
 
Using The .NET Framework
Using The .NET FrameworkUsing The .NET Framework
Using The .NET Framework
 
Web Components in Action: building reusable components for web development
Web Components in Action: building reusable components for web developmentWeb Components in Action: building reusable components for web development
Web Components in Action: building reusable components for web development
 

Más de LearnNowOnline

Windows 8: Shapes and Geometries
Windows 8: Shapes and GeometriesWindows 8: Shapes and Geometries
Windows 8: Shapes and GeometriesLearnNowOnline
 
SQL: Permissions and Data Protection
SQL: Permissions and Data ProtectionSQL: Permissions and Data Protection
SQL: Permissions and Data ProtectionLearnNowOnline
 
Attributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programmingAttributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programmingLearnNowOnline
 
Asynchronous Programming
Asynchronous ProgrammingAsynchronous Programming
Asynchronous ProgrammingLearnNowOnline
 
WPF: Working with Data
WPF: Working with DataWPF: Working with Data
WPF: Working with DataLearnNowOnline
 
SharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPathSharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPathLearnNowOnline
 
Sql 2012 development and programming
Sql 2012  development and programmingSql 2012  development and programming
Sql 2012 development and programmingLearnNowOnline
 
Introducing the Entity Framework
Introducing the Entity FrameworkIntroducing the Entity Framework
Introducing the Entity FrameworkLearnNowOnline
 
Working with Controllers and Actions in MVC
Working with Controllers and Actions in MVCWorking with Controllers and Actions in MVC
Working with Controllers and Actions in MVCLearnNowOnline
 

Más de LearnNowOnline (12)

Windows 8: Shapes and Geometries
Windows 8: Shapes and GeometriesWindows 8: Shapes and Geometries
Windows 8: Shapes and Geometries
 
SQL: Permissions and Data Protection
SQL: Permissions and Data ProtectionSQL: Permissions and Data Protection
SQL: Permissions and Data Protection
 
Attributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programmingAttributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programming
 
Asynchronous Programming
Asynchronous ProgrammingAsynchronous Programming
Asynchronous Programming
 
WPF: Working with Data
WPF: Working with DataWPF: Working with Data
WPF: Working with Data
 
A tour of SQL Server
A tour of SQL ServerA tour of SQL Server
A tour of SQL Server
 
Introducing LINQ
Introducing LINQIntroducing LINQ
Introducing LINQ
 
SharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPathSharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPath
 
SQL Server: Security
SQL Server: SecuritySQL Server: Security
SQL Server: Security
 
Sql 2012 development and programming
Sql 2012  development and programmingSql 2012  development and programming
Sql 2012 development and programming
 
Introducing the Entity Framework
Introducing the Entity FrameworkIntroducing the Entity Framework
Introducing the Entity Framework
 
Working with Controllers and Actions in MVC
Working with Controllers and Actions in MVCWorking with Controllers and Actions in MVC
Working with Controllers and Actions in MVC
 

Último

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Último (20)

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 

Bring a Web Page Alive with jQuery

  • 1. Bring a Web Page Alive with jQuery Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 2. Objectives Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 3. Objectives • Learn about how you can use jQuery to change Web page content and structure Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 4. Objectives • Learn about how you can use jQuery to change Web page content and structure • See how you can use jQuery animations to make a page come alive and enhance its usability Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 5. Objectives • Learn about how you can use jQuery to change Web page content and structure • See how you can use jQuery animations to make a page come alive and enhance its usability • Explore the jQuery UI library to add rich functionality to a page’s user interface Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 6. Introduction Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 7. Introduction • Once you know the basics of jQuery, there are many ways to put it to use Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 8. Introduction • Once you know the basics of jQuery, there are many ways to put it to use • Need to find a balance between using HTML/CSS and jQuery Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 9. Introduction • Once you know the basics of jQuery, there are many ways to put it to use • Need to find a balance between using HTML/CSS and jQuery • In general, to implement a design feature: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 10. Introduction • Once you know the basics of jQuery, there are many ways to put it to use • Need to find a balance between using HTML/CSS and jQuery • In general, to implement a design feature: 1. Use HTML when you can Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 11. Introduction • Once you know the basics of jQuery, there are many ways to put it to use • Need to find a balance between using HTML/CSS and jQuery • In general, to implement a design feature: 1. Use HTML when you can 2. If HTML can’t do it, use CSS Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 12. Introduction • Once you know the basics of jQuery, there are many ways to put it to use • Need to find a balance between using HTML/CSS and jQuery • In general, to implement a design feature: 1. Use HTML when you can 2. If HTML can’t do it, use CSS 3. If CSS can’t do it, use jQuery Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 13. Introduction • Once you know the basics of jQuery, there are many ways to put it to use • Need to find a balance between using HTML/CSS and jQuery • In general, to implement a design feature: 1. Use HTML when you can 2. If HTML can’t do it, use CSS 3. If CSS can’t do it, use jQuery • Design with progressive enhancement Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 14. Introduction • Once you know the basics of jQuery, there are many ways to put it to use • Need to find a balance between using HTML/CSS and jQuery • In general, to implement a design feature: 1. Use HTML when you can 2. If HTML can’t do it, use CSS 3. If CSS can’t do it, use jQuery • Design with progressive enhancement • We’ll go beyond HTML and CSS here Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 15. Work with Page Elements Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 16. Work with Page Elements • Probably the most common thing you’ll do Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 17. Work with Page Elements • Probably the most common thing you’ll do  Make changes based on user or environment Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 18. Work with Page Elements • Probably the most common thing you’ll do  Make changes based on user or environment • Manipulating CSS with jQuery Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 19. Work with Page Elements • Probably the most common thing you’ll do  Make changes based on user or environment • Manipulating CSS with jQuery  Read and write CSS properties Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 20. Work with Page Elements • Probably the most common thing you’ll do  Make changes based on user or environment • Manipulating CSS with jQuery  Read and write CSS properties  Add and remove CSS classes Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 21. Hiding and Showing Page Elements Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 22. Hiding and Showing Page Elements • Use the show, hide, and toggle methods Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 23. Hiding and Showing Page Elements • Use the show, hide, and toggle methods • Works by setting CSS display property Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 24. Changing Element Content Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 25. Changing Element Content • Not limited to changing appearance Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 26. Changing Element Content • Not limited to changing appearance  text method Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 27. Changing Element Content • Not limited to changing appearance  text method  html method Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 28. Changing Element Content • Not limited to changing appearance  text method  html method  val method Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 29. Changing Element Content • Not limited to changing appearance  text method  html method  val method • When used to read content, get content only from first element in matched set Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 30. Changing Element Content • Not limited to changing appearance  text method  html method  val method • When used to read content, get content only from first element in matched set • When used to write content, affects all elements in the set Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 31. Adding and Removing Page Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 32. Adding and Removing Page • Can dynamically add and remove elements Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 33. Adding and Removing Page • Can dynamically add and remove elements  Rewrite the page on the fly with jQuery Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 34. Adding and Removing Page • Can dynamically add and remove elements  Rewrite the page on the fly with jQuery  Possible in JavaScript, but hard Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 35. Adding and Removing Page • Can dynamically add and remove elements  Rewrite the page on the fly with jQuery  Possible in JavaScript, but hard • html method can sort of add elements Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 36. Adding and Removing Page • Can dynamically add and remove elements  Rewrite the page on the fly with jQuery  Possible in JavaScript, but hard • html method can sort of add elements  Requires that you build a string Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 37. Adding and Removing Page • Can dynamically add and remove elements  Rewrite the page on the fly with jQuery  Possible in JavaScript, but hard • html method can sort of add elements  Requires that you build a string • Methods Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 38. Adding and Removing Page • Can dynamically add and remove elements  Rewrite the page on the fly with jQuery  Possible in JavaScript, but hard • html method can sort of add elements  Requires that you build a string • Methods  insertBefore and insertAfter methods Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 39. Adding and Removing Page • Can dynamically add and remove elements  Rewrite the page on the fly with jQuery  Possible in JavaScript, but hard • html method can sort of add elements  Requires that you build a string • Methods  insertBefore and insertAfter methods  prependTo and appendTo methods Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 40. Adding and Removing Page • Can dynamically add and remove elements  Rewrite the page on the fly with jQuery  Possible in JavaScript, but hard • html method can sort of add elements  Requires that you build a string • Methods  insertBefore and insertAfter methods  prependTo and appendTo methods  remove method Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 41. Adding and Removing Page • Can dynamically add and remove elements  Rewrite the page on the fly with jQuery  Possible in JavaScript, but hard • html method can sort of add elements  Requires that you build a string • Methods  insertBefore and insertAfter methods  prependTo and appendTo methods  remove method • Changes only the in-memory DOM Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 42. Use Animations and Effects Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 43. Use Animations and Effects • DOM enables dynamic effects Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 44. Use Animations and Effects • DOM enables dynamic effects  JavaScript makes it all possible Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 45. Use Animations and Effects • DOM enables dynamic effects  JavaScript makes it all possible  But can be overwhelming Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 46. Use Animations and Effects • DOM enables dynamic effects  JavaScript makes it all possible  But can be overwhelming • Perfect task for jQuery Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 47. Use Animations and Effects • DOM enables dynamic effects  JavaScript makes it all possible  But can be overwhelming • Perfect task for jQuery  Core library includes basic animation support Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 48. Use Animations and Effects • DOM enables dynamic effects  JavaScript makes it all possible  But can be overwhelming • Perfect task for jQuery  Core library includes basic animation support  Provides tools to enhance pages Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 49. Use Animations and Effects • DOM enables dynamic effects  JavaScript makes it all possible  But can be overwhelming • Perfect task for jQuery  Core library includes basic animation support  Provides tools to enhance pages  Remember that there are extensions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 50. Use Animations and Effects • DOM enables dynamic effects  JavaScript makes it all possible  But can be overwhelming • Perfect task for jQuery  Core library includes basic animation support  Provides tools to enhance pages  Remember that there are extensions • Don’t get carried away! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 51. Hovering Effects Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 52. Hovering Effects • Commonly need to change appearance when mouse hovers over an element Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 53. Hovering Effects • Commonly need to change appearance when mouse hovers over an element • Several methods Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 54. Hovering Effects • Commonly need to change appearance when mouse hovers over an element • Several methods  mouseover and mouseout methods Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 55. Hovering Effects • Commonly need to change appearance when mouse hovers over an element • Several methods  mouseover and mouseout methods  mousedown and mouseup methods Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 56. Hovering Effects • Commonly need to change appearance when mouse hovers over an element • Several methods  mouseover and mouseout methods  mousedown and mouseup methods  mouseenter and mouseleave methods Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 57. Hovering Effects • Commonly need to change appearance when mouse hovers over an element • Several methods  mouseover and mouseout methods  mousedown and mouseup methods  mouseenter and mouseleave methods • Sample page Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 58. Hovering Effects • Commonly need to change appearance when mouse hovers over an element • Several methods  mouseover and mouseout methods  mousedown and mouseup methods  mouseenter and mouseleave methods • Sample page  Mouse over row in table Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 59. Hovering Effects • Commonly need to change appearance when mouse hovers over an element • Several methods  mouseover and mouseout methods  mousedown and mouseup methods  mouseenter and mouseleave methods • Sample page  Mouse over row in table  User clicks a row in table Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 60. Hovering Effects • Commonly need to change appearance when mouse hovers over an element • Several methods  mouseover and mouseout methods  mousedown and mouseup methods  mouseenter and mouseleave methods • Sample page  Mouse over row in table  User clicks a row in table  Button can toggle row click highlighting Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 61. Hovering Effects • Commonly need to change appearance when mouse hovers over an element • Several methods  mouseover and mouseout methods  mousedown and mouseup methods  mouseenter and mouseleave methods • Sample page  Mouse over row in table  User clicks a row in table  Button can toggle row click highlighting  Button clears all click highlights Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 62. Hiding and Showing Content Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 63. Hiding and Showing Content • Can animate appearance and disappearance of content Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 64. Hiding and Showing Content • Can animate appearance and disappearance of content  Avoids sudden jarring changes to page Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 65. Hiding and Showing Content • Can animate appearance and disappearance of content  Avoids sudden jarring changes to page  Don’t have to last long Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 66. Hiding and Showing Content • Can animate appearance and disappearance of content  Avoids sudden jarring changes to page  Don’t have to last long • Two types of methods Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 67. Hiding and Showing Content • Can animate appearance and disappearance of content  Avoids sudden jarring changes to page  Don’t have to last long • Two types of methods  Dedicated animation methods Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 68. Hiding and Showing Content • Can animate appearance and disappearance of content  Avoids sudden jarring changes to page  Don’t have to last long • Two types of methods  Dedicated animation methods  Methods that animate incidentally Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 69. The animate Method Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 70. The animate Method • All animation methods so far have been focused Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 71. The animate Method • All animation methods so far have been focused  Some flexibility, but not much Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 72. The animate Method • All animation methods so far have been focused  Some flexibility, but not much • When other methods fall short, use animate() Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 73. The animate Method • All animation methods so far have been focused  Some flexibility, but not much • When other methods fall short, use animate()  All other animation methods use this one Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 74. The animate Method • All animation methods so far have been focused  Some flexibility, but not much • When other methods fall short, use animate()  All other animation methods use this one  Method is flexible and customizable Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 75. The animate Method • All animation methods so far have been focused  Some flexibility, but not much • When other methods fall short, use animate()  All other animation methods use this one  Method is flexible and customizable  Will have to do some work Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 76. The animate Method • All animation methods so far have been focused  Some flexibility, but not much • When other methods fall short, use animate()  All other animation methods use this one  Method is flexible and customizable  Will have to do some work • Works by letting you set targets for CSS properties Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 77. The animate Method • All animation methods so far have been focused  Some flexibility, but not much • When other methods fall short, use animate()  All other animation methods use this one  Method is flexible and customizable  Will have to do some work • Works by letting you set targets for CSS properties  Starts at current calculated value Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 78. The animate Method • All animation methods so far have been focused  Some flexibility, but not much • When other methods fall short, use animate()  All other animation methods use this one  Method is flexible and customizable  Will have to do some work • Works by letting you set targets for CSS properties  Starts at current calculated value  Transitions to the new value Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 79. The animate Method • All animation methods so far have been focused  Some flexibility, but not much • When other methods fall short, use animate()  All other animation methods use this one  Method is flexible and customizable  Will have to do some work • Works by letting you set targets for CSS properties  Starts at current calculated value  Transitions to the new value • Perform singly or chain together Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 80. Forms of animate() Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 81. Forms of animate() • Pass a JavaScript object literal Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 82. Forms of animate() • Pass a JavaScript object literal  .animate( properties, [duration], [easing], [complete] ) Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 83. Forms of animate() • Pass a JavaScript object literal  .animate( properties, [duration], [easing], [complete] ) • Pass properties and options Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 84. Forms of animate() • Pass a JavaScript object literal  .animate( properties, [duration], [easing], [complete] ) • Pass properties and options  .animate( properties, options ) Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 85. Forms of animate() • Pass a JavaScript object literal  .animate( properties, [duration], [easing], [complete] ) • Pass properties and options  .animate( properties, options ) • Properties is the only required argument Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 86. Forms of animate() • Pass a JavaScript object literal  .animate( properties, [duration], [easing], [complete] ) • Pass properties and options  .animate( properties, options ) • Properties is the only required argument  Default values are pixels (px), but em and % work Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 87. Forms of animate() • Pass a JavaScript object literal  .animate( properties, [duration], [easing], [complete] ) • Pass properties and options  .animate( properties, options ) • Properties is the only required argument  Default values are pixels (px), but em and % work  Can animate a few non CSS properties Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 88. Forms of animate() • Pass a JavaScript object literal  .animate( properties, [duration], [easing], [complete] ) • Pass properties and options  .animate( properties, options ) • Properties is the only required argument  Default values are pixels (px), but em and % work  Can animate a few non CSS properties  Make relative changes with += and -= Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 89. Limitations to animate() Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 90. Limitations to animate() • Can only set single numeric CSS properties Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 91. Limitations to animate() • Can only set single numeric CSS properties • Doesn’t support shorthand CSS properties Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 92. Limitations to animate() • Can only set single numeric CSS properties • Doesn’t support shorthand CSS properties • Multiword property names must be camel cased Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 93. Limitations to animate() • Can only set single numeric CSS properties • Doesn’t support shorthand CSS properties • Multiword property names must be camel cased  backgroundColor Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 94. Limitations to animate() • Can only set single numeric CSS properties • Doesn’t support shorthand CSS properties • Multiword property names must be camel cased  backgroundColor  borderRight Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 95. The jQuery User Interface Library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 96. The jQuery User Interface Library • Makes use of CSS-based themes Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 97. The jQuery User Interface Library • Makes use of CSS-based themes • Easy to see why Microsoft adopted jQuery! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 98. The jQuery User Interface Library • Makes use of CSS-based themes • Easy to see why Microsoft adopted jQuery!  No brainer to also embrace jQuery UI Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 99. Downloading the jQuery UI Library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 100. Downloading the jQuery UI Library • Huge library if you include every feature Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 101. Downloading the jQuery UI Library • Huge library if you include every feature  Split into many files Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 102. Downloading the jQuery UI Library • Huge library if you include every feature  Split into many files  Use whatever you need Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 103. Downloading the jQuery UI Library • Huge library if you include every feature  Split into many files  Use whatever you need • Can customize the library download Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 104. Creating a jQuery UI Library Theme Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 105. Creating a jQuery UI Library Theme • Highly unlikely that standard themes will work for you perfectly Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 106. Creating a jQuery UI Library Theme • Highly unlikely that standard themes will work for you perfectly  CSS files are fairly complex, so hard to create from scratch Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 107. Creating a jQuery UI Library Theme • Highly unlikely that standard themes will work for you perfectly  CSS files are fairly complex, so hard to create from scratch  May just need to tweak a standard theme Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 108. Creating a jQuery UI Library Theme • Highly unlikely that standard themes will work for you perfectly  CSS files are fairly complex, so hard to create from scratch  May just need to tweak a standard theme  Use the ThemeRoller tool Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 109. Learn More! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 110. Learn More! • This is an excerpt from a larger course. Visit www.learnnowonline.com for the full details! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 111. Learn More! • This is an excerpt from a larger course. Visit www.learnnowonline.com for the full details! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 112. Learn More! • This is an excerpt from a larger course. Visit www.learnnowonline.com for the full details! • Learn more about jQuery on SlideShare! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 113. Learn More! • This is an excerpt from a larger course. Visit www.learnnowonline.com for the full details! • Learn more about jQuery on SlideShare!  The jQuery Library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company

Notas del editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. Demo: rest of section, Inspecting Results with Firebug, \n
  22. Demo: rest of section, Inspecting Results with Firebug, \n
  23. Demo: rest of section, Inspecting Results with Firebug, \n
  24. Demo: rest of section, Inspecting Results with Firebug, \n
  25. Demo: rest of section, Inspecting Results with Firebug, \n
  26. DEMO: rest of section\n
  27. DEMO: rest of section\n
  28. DEMO: rest of section\n
  29. DEMO: rest of section\n
  30. DEMO: rest of section\n
  31. DEMO: rest of section\n
  32. DEMO: rest of section\n
  33. DEMO: rest of section\n
  34. DEMO: rest of section\n
  35. DEMO: rest of section\n
  36. DEMO: rest of section\n
  37. DEMO: rest of section\n
  38. DEMO: rest of section\n
  39. DEMO: rest of section\n
  40. DEMO: rest of section\n
  41. DEMO: rest of section\n
  42. DEMO: rest of section\n
  43. DEMO: rest of section\n
  44. \n
  45. \n
  46. \n
  47. \n
  48. \n
  49. \n
  50. \n
  51. \n
  52. \n
  53. \n
  54. \n
  55. \n
  56. DEMO: rest of section\n
  57. DEMO: rest of section\n
  58. DEMO: rest of section\n
  59. DEMO: rest of section\n
  60. DEMO: rest of section\n
  61. DEMO: rest of section\n
  62. DEMO: rest of section\n
  63. DEMO: rest of section\n
  64. DEMO: rest of section\n
  65. DEMO: rest of section\n
  66. DEMO: rest of section, Fading Text In and Out, Toggling Appearance, Hide or Show Content, Execute Code When Animation Completes, Chaining Animations Together, \n
  67. DEMO: rest of section, Fading Text In and Out, Toggling Appearance, Hide or Show Content, Execute Code When Animation Completes, Chaining Animations Together, \n
  68. DEMO: rest of section, Fading Text In and Out, Toggling Appearance, Hide or Show Content, Execute Code When Animation Completes, Chaining Animations Together, \n
  69. DEMO: rest of section, Fading Text In and Out, Toggling Appearance, Hide or Show Content, Execute Code When Animation Completes, Chaining Animations Together, \n
  70. DEMO: rest of section, Fading Text In and Out, Toggling Appearance, Hide or Show Content, Execute Code When Animation Completes, Chaining Animations Together, \n
  71. DEMO: rest of section, Fading Text In and Out, Toggling Appearance, Hide or Show Content, Execute Code When Animation Completes, Chaining Animations Together, \n
  72. \n
  73. \n
  74. \n
  75. \n
  76. \n
  77. \n
  78. \n
  79. \n
  80. \n
  81. \n
  82. \n
  83. \n
  84. \n
  85. \n
  86. \n
  87. \n
  88. \n
  89. \n
  90. DEMO: rest of section\n
  91. DEMO: rest of section\n
  92. DEMO: rest of section\n
  93. DEMO: rest of section\n
  94. DEMO: rest of section\n
  95. \n
  96. \n
  97. \n
  98. \n
  99. \n
  100. \n
  101. \n
  102. \n
  103. \n
  104. \n
  105. \n
  106. DEMO: rest of section, Exploring the jQuery UI Library\n
  107. DEMO: rest of section, Exploring the jQuery UI Library\n
  108. DEMO: rest of section, Exploring the jQuery UI Library\n
  109. DEMO: rest of section, Exploring the jQuery UI Library\n
  110. DEMO: rest of section\n
  111. DEMO: rest of section\n
  112. DEMO: rest of section\n
  113. DEMO: rest of section\n