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. Rangeslider.js. Features Touchscreen friendly Recalculates onresize so suitable for use within responsive designs Small and fast.

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 Facts about Chartist The following facts should give you an overview why to choose Chartists as your front-end chart generator: Simple handling while using convention over configurationGreat flexibility while using clear separation of concerns (Style with CSS & control with JS)Usage of SVG (Yes!

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. 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. How it works. Knrz/CSV.js. Lonely Pixel - A simple, easy to use, versatile and customisable colour picker. click me View Picker on Github.Codepen Demo.

Lonely Pixel -

Using Picker is as simple as this: var parent = document.getElementById('parent'); var picker = new Picker(parent); parent.onclick = function() { picker.show();}; picker.on_done = function(colour) { parent.style.background = colour.rgba().toString();}; Explained: There are also a number of options you can choose. You can customise the CSS in the source file, or do it dynamically like so: Sticker.js. Octocard. WOW.js - Reveal Animations When You Scroll. Very Animate.css Friend. A re-introduction to JavaScript (JS Tutorial) - JavaScript.

IntroductionEdit 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. Several months later, Microsoft released JScript with Internet Explorer 3. Because it is more familiar, we will refer to ECMAScript as "JavaScript" from this point on. Unlike most programming languages, the JavaScript language has no concept of input or output. OverviewEdit JavaScript is a multi-paradigm, dynamic language with types and operators, standard built-in objects, and methods.

Let's start off by looking at the building blocks of any language: the types. NumbersEdit parseInt('11', 2); NaN + 5; 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 PepperoniSausageCheeseMushroomChickenOther The Setup. 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: Key features Skin support. (5 skins included and PSD for skin creation) Any number of sliders at one page without conflicts and big performance problems Two slider types single (1 slider) and double (2 sliders) Support of negative and fractional values Ability to set custom step and snap grid to step Support of custom values diapason Customisable grid of values Ability to disable UI elements (min and max, current value, grid) Postfixes and prefixes for your numbers ($20, 20 € etc.)

Demos Dependencies. Cal-HeatMap : Javascript calendar heatmap for time series data. What is Cal-heatmap ? Is a javascript module to create a calendar heatmap. Getting started. 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 bower It can also be used with Bower then in the HTML of your app: <! Browser. 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>. As part of the regular set of properties that browsers assign to anchor elements, there are a few more that mimic the properties of the location object. 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. ..:: Getting Started Include the relevant files. 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. Ladda. jQuery Unveil - A very lightweight plugin to lazy load images. Most of us are familiar with the Lazy Load plugin by Mika Tuupola. This plugin is very useful and it boosts performance delaying loading of images in long web pages because images outside of viewport (visible part of web page) won't be loaded until the user scrolls to them.

Lazy Load has some cool options such as custom effects, container, events or data attribute. If you're not gonna use any of them you can reduce the file size by leaving just the essential code to show the images. FlipClock.js. JavaScript Regular Expression Enlightenment. Outline Introduction Who Should Read This? 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. Demos - Draggable shapes.

Web 2.0, allez plus loin avec AJAX et XMLHttpRequest. Qu'est ce qu'AJAX ? FoldScroll. Technique is just a means of arriving at a statement.