Head first jQuery /
Want to add more interactivity and polish to your websites? Discover how jQuery can help you build complex scripting functionality in just a few lines of code. With Head First jQuery, you'll quickly get up to speed on this amazing JavaScript library by learning how to navigate HTML documents wh...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, CA :
O'Reilly Media,
©2011.
|
Edición: | 1st ed. |
Colección: | Head first series.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Table of Contents (Summary); Table of Contents (The real thing); Intro: How to Use This Book; Who is this book for?; Metacognition: thinking about thinking; Bend your brain into submission; Read me; Software requirements; Download jQuery; Folder setup; The technical review team; Acknowledgments; Safari® Books Online; Chapter 1: Getting Started with jQuery: Web page action; You want web page power; HTML and CSS are fine, but ... ; ... you need the power of script; Enter jQuery (and JavaScript)!; Look into the browser; The hidden structure of a web page; jQuery makes the DOM less scary.
- How does that work?jQuery selects elements the same way CSS does; Style, meet script; jQuery selectors at your service; jQuery in translation; Your first jQuery gig; Set up your HTML and CSS files; Slide on in ... ; May the fade be with you; That's it?; You rescued the Furry Friends campaign; Your jQuery Toolbox; Chapter 2: Selectors and Methods: Grab and go; Jump for Joy needs your help; What are the project requirements?; Dig in with divs; A click event up close; Add the click method to your page; Get more specific; Classing up your elements; ID-entifying elements; Wire up your web page.
- Meanwhile, back to our listCreating some storage space; Mix things up with concatenation; Meanwhile, back in the code ... ; Insert your message with append; Everything works great, but ... ; Give me (this) one; Put (this) to work; Good riddance with remove; Dig down with descendant selectors; Your turn to jump for joy; Your jQuery Toolbox; Chapter 3: jQuery Events and Functions: Making things happen on your page; Your jQuery skillz are in demand again; The money man has a point ... ; Making your page eventful; Behind the scenes of an event listener; Binding an event; Triggering events.
- Removing an eventGoing through the elements; Your project structure; Making things function-al; The nuts and bolts of a function; The anonymous function; Named functions as event handlers; Passing a variable to a function; Functions can return a value, too; Use conditional logic to make decisions; Jump for Joy needs even more help; Methods can change the CSS; Add a hover event; You're almost there ... ; Your jQuery Toolbox; Chapter 4: jQuery Web Page Manipulation: Mod the DOM; The Webville Eatery wants an interactive menu; Go vegetarian; Class up your elements; Button things up; What's next?
- Swinging through the DOM treeTraversal methods climb the DOM; Chain methods to climb farther; Variables can store elements, too; There's that dollar sign again ... ; Expand your storage options with arrays; Store elements in an array; Change out elements with replaceWith; How can replaceWith help?; Think ahead before using replaceWith; replaceWith doesn't work for every situation; Insert HTML content into the DOM; Use filter methods to narrow your selections (Part 1); Use filter methods to narrow your selections (Part 2); Bring the burger back; Where's the beef (er ... meat)?; A meaty array.