weblog.rubyonrails.org

jQuery as new default Javascript library, streaming response support, attr_accessible with roles, prepared statements, easier migrations.

spritely.net

jQuery.spritely is a jQuery plugin created by Artlogic for creating dynamic character and background animation in pure HTML and JavaScript. It's a simple, light-weight plugin with a few...

You should prefer native promises to jQuery's Deferreds. Native promises are much faster than their jQuery equivalent. Native promises...

api.jquery.com

Simply use one(...) instead of on(...). It takes the same arguments.

makandra dev
goat1000.com

TagCanvas is a Javascript class which will draw and animate a HTML5 canvas based tag cloud.

Checking if a JavaScript value is of a given type can be very confusing: There are two operators typeof and...

makandra dev
github.com

This jasmine plugin helps with testing DOM manipulation in two ways: It gives you DOM-related matchers like toBeVisible() or...

dimsemenov.com

Responsive Lightbox JavaScript that just works. You can use it for single images or a gallery. Animations are optional.

makandra dev
yconst.com

Freetile is a plugin for jQue­ry that en­ables the or­ganiza­tion of web­page con­tent in an ef­ficient, dynamic and re­spon­sive layout...

dfcb.github.com

This plugin makes it easy to add fit-to-fill background video to websites. It can play silent ambient background...

alfajango.com

We can now plug into every facet of the Rails jQuery UJS adapter, binding to custom events, and even customizing...

...add 3 different lightbox libraries, if you only need one. Don't load the complete jQuery-UI, if you only need one component. If you need a library only on...

When you need to add a event listener to hundreds of elements, this might slow down the browser. An alternative...

Jasmine specs for the frontend often need some DOM elements to work with. Because creating them is such a common...

This card shows how to upgrade a Rails 2 application from Rails 2.3.8 through every single patch level up to...

bitbucket.org

String manipulation extensions for the Underscore.js javascript library.

jqueryElement.is(':checked...

morrisonpitt.com

jsPlumb can visually connect elements together with curved (or straight) lines. The demo has examples of Bezier curves and straight...

Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...

The attached Coffeescript helper will let you create mouse events: $element = $('div') Trigger.mouseover($element) Trigger.mouseenter($element) Trigger.mousedown($element) Trigger.mouseup($element...

There is no CSS selector for matching elements that contains a given string ¹. Luckily, Capybara offers the :text option to...