
Head First jQuery
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- 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 list
- Creating 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 event
- Going 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 tree
- Traversal 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
- The each method loops through arrays
- That's it.right?
- Your jQuery Toolbox
- Chapter 5: jQuery Effects and Animation: A little glide in your stride
- DoodleStuff needs a web app
- Do the Monster Mashup
- Monster Mashup needs layout and positioning
- A little more structure and style
- Make the interface click
- Make the lightning effect
- How does jQuery animate elements?
- Fade effects animate the CSS opacity property
- Sliding is all about height
- Put fade effects to work
- Combine effects with method chains
- Striking back with a timed function
- Add the lightning functions to your script
- DIY effects with animate
- What can and can't be animated
- animate changes style over time
- From where to where exactly?
- Absolute vs. relative element movement
- Move stuff relatively with operator combinations
- Add the animate functions to your script
- Look, Ma, no Flash!
- Your jQuery Toolbox
- Chapter 6: jQuery and JavaScript: jQuery, I am your father!
- Spicing up the Head First Lounge
- Objects offer even smarter storage
- Build your own objects
- Create reusable objects with object constructors
- Interacting with objects
- Set up the page
- The return of arrays
- Accessing arrays
- Add and update items in arrays
- Perform an action over (and over, and over.)
- Looking for the needle in a haystack
- Decision making time.again!
- Comparison and logical operators
- Clearing things up with jQuery.
- Add some extra excitement
- Your jQuery/JavaScript Toolbox
- Chapter 7: Custom Functions for Custom Effects: What have you done for me lately?
- A storm is brewing
- We've created a monster.function
- Get control of timed effects with the window object
- Respond to browser events with onblur and onfocus
- Timer methods tell your functions when to run
- Write the stopLightning and goLightning functions
- Feature request for Monster Mashup
- Let's get (more) random
- You already know the current position...
- .and the getRandom function too
- Move relative to the current position
- Monster Mashup v2 is a hit!
- Your jQuery Toolbox
- Chapter 8: jQuery and Ajax: Please pass the data
- Bring the Bit to Byte race into this century
- Looking at last year's page
- Getting dynamic
- OLD web, meet the NEW web
- Understanding Ajax
- What is Ajax?
- The X factor
- GETting data with the ajax method
- Parsing XML data
- Scheduling events on a page
- Self-referencing functions
- Getting more from your server
- What time is it?
- Turning off scheduled events on your page
- Your jQuery/Ajax Toolbox
- Chapter 9: Handling JSON data: Client, meet server
- Webville MegaCorp's Marketing Department doesn't know XML
- XML errors break the page
- Collect data from a web page
- What to do with the data
- Format the data before you send it
- Send the data to the server
- Store your data in a MySQL database
- Create your database to store runner info
- Anatomy of an insert statement
- Use PHP to access the data
- Handle POST data on the server
- Connect to a database with PHP
- Use select to read data from a database
- Get data with PHP
- JSON to the rescue!
- jQuery + JSON = Awesome
- A few PHP rules...
- A few (more) PHP rules.
- Format the output using PHP
- Access data in the JSON object
- Data sanitization and validation in PHP
- Your jQuery/Ajax/PHP/MySQL Toolbox
- Chapter 10: jQuery UI: Extreme form makeover
- Cryptozoologists.org needs a makeover
- Pimp your HTML form
- Save coding headaches (and time) with jQuery UI
- What's inside the jQuery UI package
- Build a date picker into the sightings form
- jQuery UI behind the scenes
- Widgets have customizable options
- Styling up your buttons
- Control numerical entries with a slider
- Computers mix color using red, green, and blue
- Build the refreshSwatch function
- One last little thing.
- Your jQuery Toolbox
- Chapter 11: jQuery and APIs: Objects, objects everywhere
- Where's Sasquatch?
- The Google Maps API
- APIs use objects
- Include Google maps in your page
- Getting JSON data with SQL and PHP
- Points on a map are markers
- Multicreature checklist
- Listening for map events
- You did it!
- Your jQuery API Toolbox
- Appendix i: Leftovers: The Top Ten Things(we didn't cover)
- #1. Every single thing in the jQuery library
- #2. jQuery CDNs
- #3. The jQuery namespace: noConflict method
- #4. Debugging your jQuery code
- #5. Advanced animation: queues
- #6. Form validation
- #7. jQuery UI effects
- #8. Creating your own jQuery plug-ins
- #9. Advanced JavaScript: closures
- #10. Templates
- Appendix ii: Set Up A Development Environment: Get ready for the big times
- Create a PHP development environment
- Find out what you have
- Do you have a web server?
- Do you have PHP? Which version?
- Do you have MySQL? Which version?
- Start with the web server
- Apache installation...concluded
- PHP installation
- PHP installation steps
- PHP installation steps...concluded
- Installing MySQL
- Steps to install MySQL on Windows
- Enabling PHP on Mac OS X
- Steps to install MySQL on Mac OS X
- Index
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.