background preloader

JS

Facebook Twitter

SweetAlert. A beautiful replacement for Javascript's "Alert" So...

SweetAlert

What does it do? Here’s a comparison of a standard error message. The first one uses the built-in alert-function, while the second is using sweetAlert. Rangeslider.js. Chartist - Simple responsive charts. You may think that this is just yet an other charting library.

Chartist - Simple responsive charts

But Chartist.js is the product of a community that was disappointed about the abilities provided by other charting libraries. Of course there are hundreds of other great charting libraries but after using them there were always tweaks you would have wished for that were not included. Highly customizable responsive charts.

10 Tips for Writing JavaScript without jQuery. Danny Markov jQuery is a great library. It came to be around the time when IE6 was the number one browser. Back then, there were quirks and differences that were tedious to work around and jQuery was the perfect tool for writing cross browser code. Today, however, web browsers have advanced a great deal from those days. We can comfortably use all features provided by ES5, and we have at our disposal awesome HTML5 APIs that make working with the DOM so much nicer. Don’t get me wrong – jQuery is still a wonderful library and most often than not you will be better off using it. 1.

The first thing you do when writing jQuery, is wrapping your code in a $(document).ready() call, so that you know when the DOM is ready for manipulation. Run 2. Once upon a time, we could only select elements by id, class and tag name, and jQuery was a life-saver with its smart css-like selectors. <ul><li class="monsters">Nessy</li><li class="monsters">Big foot</li><li class="monsters">La chupacabra</li></ul> jQuery fontIconPicker - An elegant font icon picker written in jQuery. jQuery fontIconPicker is a small (1.58kb gzipped) jQuery plugin which allows you to include a simple icon picker with search and pagination inside your administration forms.

jQuery fontIconPicker - An elegant font icon picker written in jQuery

The list of icons can be loaded manually using a SELECT field, loading an array of icons or directly from a Fontello config.json file. Legend: How it works Basic: Load from SELECT input field Load from TEXT input field (no empty icon, no search) Load icons from Fontello JSON config file fontIconPicker validation Change icon set on the fly Trigger event on icon change ACF { fontIconPicker WordPress plugin Browser compatibility Credits ONLY FOR LOCAL DEMO (when online everything will be allright) In firefox fontIconPicker icons won't be shown correctly because of CORS. For the same reason "Load icons from Fontello JSON config file" won't work on Chrome or IE 10. Knrz/CSV.js. Lonely Pixel - A simple, easy to use, versatile and customisable colour picker. click me.

Lonely Pixel -

Sticker.js. Octocard. WOW.js - Reveal Animations When You Scroll. Very Animate.css Friend. A re-introduction to JavaScript (JS Tutorial) - JavaScript. Why a re-introduction?

A re-introduction to JavaScript (JS Tutorial) - JavaScript

Because JavaScript is notorious for being the world's most misunderstood programming language. It is often derided as being a toy, but beneath its layer of deceptive simplicity, powerful language features await. JavaScript is now used by an incredible number of high-profile applications, showing that deeper knowledge of this technology is an important skill for any web or mobile developer.

It's useful to start with an overview of the language's history. FileAPI — a set of javascript tools for working with files. Pizza Pie Charts. Pizza is an easy to use plugin.

Pizza Pie Charts

It's built with our responsive framework Foundation so you can quickly install it into your current Foundation project. Water BuffaloBisonSheepGoatShetland Pony. Odometer. GitHub ★ s so far: Odometer is a Javascript and CSS library for smoothly transitioning numbers.

odometer

See the demo page for some examples. Odometer's animations are handled entirely in CSS using transforms making them extremely performant, with automatic fallback on older browsers. (Saving...) Hopscotch is a framework to make it easy for developers to add product tours to their pages.

(Saving...)

Hopscotch accepts a tour JSON object as input and provides an API for the developer to control rendering the tour display and managing the tour progress. Event Callbacks Callbacks for tour events: onStart, onEnd, onShow, onNext, onPrev, onClose, onError. FancySelect » Octopus Code. 1.7.0 - jQuery range slider diapason, noUI. Ion.RangeSlider — cool, comfortable, responsive and easily customizable range slider Supports events and public methods, has flexible settings, can be completely altered with CSS Cross-browser: Google Chrome, Mozilla Firefox 3.6+, Opera 12+, Safari 5+, Internet Explorer 8+ Ion.RangeSlider supports touch-devices (iPhone, iPad, Nexus, etc.).

1.7.0 - jQuery range slider diapason, noUI

GitHub page. Ion.RangeSlider freely distributed under terms of MIT licence. With this plugin you will be able to build beautiful range sliders, like this: Cal-HeatMap : Javascript calendar heatmap for time series data. What is Cal-heatmap ?

Cal-HeatMap : Javascript calendar heatmap for time series data

Is a javascript module to create a calendar heatmap. Getting started Installation. Chance.js: Utility library to generate anything random for JavaScript. Chance is a minimalist generator of random [1] strings, numbers, etc. to help reduce some monotony particularly while writing automated tests or anywhere else you need anything random. Chance is open source software and is released under the developer and business-friendly MIT license. Usage. Table-to-JSON. Popline - An HTML5 Rich-Text-Editor Toolbar. Quick Tip: The Easiest Way to Parse URLs with JavaScript. Martin Angelov One of my all-time favorite JavaScript tricks is a technique for parsing URLs into parts (host, path, query string etc) that doesn’t require any libraries or advanced regular expressions.

It uses only the power of the DOM, and more precisely, the anchor element <a>. Tabulous.js. A jQuery tabs module for todays web! Documentation Tabulous.js can be used with any contents you choose in the tabs and it couldn't be more simpler to use. Untitled. Nicolaskruchten/pivottable. RequireJS. Testing. Heading Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. Ladda. jQuery Unveil - A very lightweight plugin to lazy load images.

FlipClock.js. JavaScript Regular Expression Enlightenment. Editr - HTML, CSS, JavaScript playground. Parsley.js. Breeze.js. Turn.js: Make a flipbook with HTML5. Javascript WYSIWYG Editors - Jster Javascript Catalog. Based allow the user to enter data, particularly text, in a way familiar from Word and other popular text editors. wysihtml5 is an open source rich text editor based on HTML5 technology and the progressive-enhancement approach. It uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inl... Websanova/js-url. Hakimel/reveal.js. Pikaday: JavaScript datepicker. Pikaday is a JavaScript datepicker with a light footprint and easy style-ability with modular CSS. It’s in ‘developer preview mode’ but already looking great: Because as much as we like open standards, the HTML5 input types lack browser support and are poorly implemented in places; see Chrome (22 as of writing) below: This leaves us with a tricky situation.

Normally we can safely use new web standards with the knowledge that non-supporting browsers will simply ignore them, or we can use feature detection to progressively enhance the experience. With the state of the new input types however, this unfortunately means polyfill-only for the foreseeable future. Pikaday demo and source on GitHub. What’s wrong with the ubiquitous jQuery UI datepicker? Pikaday is packed below 5kb and isn’t even dependent on jQuery. What’s next? (This project has delayed my redesign but rest assured it’ll happen soon!) Demos - Draggable shapes. Web 2.0, allez plus loin avec AJAX et XMLHttpRequest. Qu'est ce qu'AJAX ? FoldScroll.