This snippet makes links that refer to an anchor (like "...
...") scroll softly to it.\ In this example we only do...
If you manipulate the DOM with JavaScript and your page contains nested elements with position: relative, chances are Internet Explorer...
These steps are now part of Spreewald. Here are some useful examples how to use the attached Cucumber Timecop steps...
Asset pipeline, HTTP streaming, jQuery as default framework, auto-reversable migrations, identity map for ActiveRecord. Ruby 1.8.x support will...
Although regular expression syntax is 99% interchangeable between languages, keep this in mind: By default, the dot character (".") does not...
If you want to play music or sounds from a browser, your choice is to use either Flash or the...
An alert alternative for jQuery that looks good. Apprise is a very simple, fast, attractive, and unobtrusive way to communicate...
We can now plug into every facet of the Rails jQuery UJS adapter, binding to custom events, and even customizing...
There is no way to do it. This behavior is by design. You lose.
Within an event handler, there are multiple methods to cancel event propagation, each with different semantics. event.preventDefault() Only prevents the...
If you're using jQuery, you need to update to 1.5.1 to get Internet Explorer 9 to work.
Liquid Canvas is a JavaScript library which allows you to draw inside an HTML canvas element with an easy yet...
PhantomJS is a minimalistic headless WebKit. It has fast and native support for various web standards: DOM handling, CSS selector...
Specify these gem versions in your Gemfile: gem 'cucumber', '~> 1.3.0' gem 'cucumber-rails', '= 0.3.2' # max version for Rails 2
Sometimes you need to dynamically load an image and do something as soon as its loaded (when for example its...
Cucumber scenarios that are tagged with @javascript so they run with Selenium are very slow. You might not want to...
Pie sometimes does not properly redraw elements upon changes. This often happens when the change comes from somewhere further up...
JavaScript Garden is a growing collection of documentation about the most quirky parts of the JavaScript programming language. It gives...
jQuery offers many different methods to move a selection through the DOM tree. These are the most important: $element.find(selector...
"Wallaby" is the codename for an experimental technology that converts the artwork and animation contained in Adobe® Flash® Professional (FLA...
If you have content inside a page that is hidden by CSS, the following will work with Selenium, but not...
Flash movies (.swf files) can talk with Javascript code embedded in the same HTML page. There are two ways to...
Javascript that implements client-side hyphenation of HTML-Documents.
You know Firebug as a Firefox extension but there is also a "Lite" version which runs purely off JavaScript.