jQuery is well-known for being a concise JavaScript library that helps simplify HTML document traversing, event handling, creating animations and Ajax interactions for rapid Web development. Choosing the right plugins, creating bookmarklets, setting patterns or manipulating images can be challenging even for experienced programmers. In order to help you avoid struggling with such decision issues, we've selected articles with the most exclusive, top-notch advice on jQuery in our latest release: the Smashing eBook “Mastering jQuery”.

$4.99

This eBook contains just the orientation you need to optimize your forthcoming jQuery projects.

TABLE OF CONTENTS

  • Commonly Confused Bits Of jQuery
  • Image Manipulation With jQuery And PHP GD
  • Make Your Own Bookmarklets With jQuery
  • jQuery Plugin Checklist: Should You Use That jQuery Plug-In?
  • Essential jQuery Plugin Patterns

Technical Information

  • Formats: PDF, EPUB, Kindle (DRM-free)
  • Pages: 122
  • Language: English
  • Released: December 2011
  • Publisher: Smashing Media GmbH
  • ISBN: 978-3-943075-20-5

Excerpt From Chapter 1

Commonly Confused Bits Of jQuery — by Andy Croxall

The explosion of JavaScript libraries and frameworks such as jQuery onto the front-end development scene has opened up the power of JavaScript to a far wider audience than ever before. It was born of the need — expressed by a crescendo of screaming by front-end developers who were fast running out of hair to pull out — to improve JavaScript’s somewhat primitive API, to make up for the lack of unified implementation across browsers and to make it more compact in its syntax.

All of which means that, unless you have some odd grudge against jQuery, those days are gone — you can actually get stuff done now. A script to find all links of a certain CSS class in a document and bind an event to them now requires one line of code, not 10. To power this, jQuery brings to the party its own API, featuring a host of functions, methods and syntactical peculiarities. Some are confused or appear similar to each other but actually differ in some way.

Excerpt From Chapter 3

Make Your Own Bookmarklets With jQuery — by Tommy Saylor

Bookmarklets are small JavaScript-powered applications in link form. Often “one-click” tools and functions, they’re typically used to extend the functionality of the browser and to interact with Web services. They can do things like post to your WordPress or Tumblr blog, submit any selected text to Google Search, or modify a current page’s CSS… and many other things!

Because they run on JavaScript (a client-side programming language), bookmarklets (sometimes called “favelets”) are supported by all major browsers on all platforms, without any additional plug-ins or software needed. In most instances, the user can just drag the bookmarklet link to their toolbar, and that’s it.

Related Products