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

Mais conteúdo relacionado

Mais procurados

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
 

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

Destaque

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
 

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

Semelhante 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
 

Semelhante 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
 

Mais 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
 

Mais 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

Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 

Último (20)

Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 

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 do 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