energize.js - A tiny JavaScript snippet to make links snappy on touch devices https://github.com/davidcalhoun/energize.js Work in progress! Energize is a work in progress, but it's functional. Bug reports, pull requests, etc, highlighly appreciated as always! How do I use it? Just include energize.js before any of your code that deals with click events (including any libraries and frameworks). T..
React — A JavaScript UI library React is a JavaScript library for building user interfaces. It’s efficient and flexible enough to work with the libraries and frameworks that you already use. Homepage: http://facebook.github.io/react/ GitHub: https://github.com/facebook/react Docs: http://facebook.github.io/react/docs/getting-started.html Declarative React uses a declarative paradigm that makes i..
parseURI — Split any URL into logical parts parseURI lets you split any URL into all of its parts. It has a loose mode that’s great for working with user input, and a strict mode that adheres to RFC 3986. Homepage: http://stevenlevithan.com/demo/parseuri/js/ Demo Page: http://stevenlevithan.com/demo/parseuri/js/#demo
JSHint 2.0 — JavaScript error detection JSHint 2.0 helps you detect errors and possible issues in JavaScript code. It can even be used to enforce coding conventions. Homepage: http://www.jshint.com/ GitHub: https://github.com/jshint/jshint Docs: http://www.jshint.com/docs/
Codeblock.js — A better code learning environment Codeblock.js makes it possible to embed editable, runnable JavaScript code blocks. Your visitors will have an easier time learning if they can experiment directly with the code. Homepage: http://filepicker.github.io/codeblock.js/ GitHub: https://github.com/Filepicker/codeblock.js
http://www.catswhocode.com/blog/useful-jquery-code-snippets Smooth scrolling to #anchor On your site footer, it is very useful to provide a quick way for your visitors to scroll back to the top of the page. Here is a simple way to smooth scroll to a #anchor of your choice. // HTML: // Lorem Ipsum // Back to Top $(document).ready(function() { $("a.topLink").click(function() { $("html, body").anim..