Slider for Bootstrap, from Twitter Example Basic example with custom formater Range selector, options specified via data attribute. Filter by price interval: € 10€ 1000 Using events to work with the values and style the selection and handles via CSS. The tooltip is disabled and diferent shapes for the handles Vertical sliders Using bootstrap-slider.js Call the slider via javascript: $('.slider').slider() Options Markup You can use data attributes to set up the configuration. Methods .slider(options) Initializes a slider. .slider('getValue') Get the value. .slider('setValue', value) Set a new value. Events Slider class exposes a few events for manipulating the value. $('#dp5').slider() .on('slide', function(ev){ .... });
CreateJS Recent Updates Follow @CreateJS November 2014 Added Unit Tests to EaselJSUpdates in preparation for new releases (coming soon). October 2014 Added 'Extras' to EaselJSTons of updates and pull requests in all libs July 2014 Major Updates to EaselJS Graphics The Story Why we built CreateJS About CreateJS CreateJS is a suite of modular libraries and tools which work together to enable rich interactive content on open web technologies via HTML5. Featured Projects Community Show & Tell. Ion Drift A port of the Flash game Ion Drift, b10b was able to build a CreateJS version in less than a day that hit target framerates on even the lowest devices, and outperformed ports to other libraries. By b10b b10b
GoJS GoJS is the only diagram library for HTML5 Canvas that supports data binding and templates. GoJS integrates these concepts cleanly and coherently into a powerful diagramming extension to the HTML5 JavaScript environment. Diagram Models and Data Binding One of the principal features of the Model-View-ViewModel design pattern is the use of data binding. There are at least two kinds of relationships that a diagram can support between data items: Relationships forming a graph of nodes and links (or in similar terminology: nodes and arcs, or entities and relationships, or vertices and edges) Grouping relationships, where a group contains members; perhaps for part/sub-part containment, or for the nesting of subgraphs GoJS makes use of a model to discover, maintain, navigate, and modify these relationships based on the data to which the diagram is bound. If you look at our online demos, you will see how little code you need to visualize and update your data. Will result in this diagram:
PxLoader | A Simple JavasScript Preloader A JavaScript Preloader for HTML5 Apps PxLoader is a Javascript library that helps you download images, sound files or anything else you need before you take a specific action on your site (like showing a user interface or starting a game). You can use it to create a preloader for HTML5 games and websites. It let's you monitor download status by providing progress and completed events and it lets you prioritize the order in which items are downloaded. We created PxLoader for the HTML5 version of Cut the Rope and out of the box works great with images and sound files (the types of resources we needed for the game), but it's designed to be extensible and work with any file type or other network action. Step by Step Instructions 1. *The sound file downloader works with SoundManager 2 and allows it do the heavy lifting of the actual download. 2. 3. Download Images Before Drawing to a Canvas Images must be fully loaded before they can be drawn on an HTML5 canvas. Report Progress While Images Load
jQuery jQuery framework for building HTML5 web apps | Kendo UI Web Demos Grid The Grid widget displays tabular data and offers rich support for interacting with data; including paging, sorting, grouping, and selection. Scheduler The Scheduler allows users to create and manage single or recurring tasks in day, week, month and custom views. Editor The Editor allows users to create rich text content by means of a WYSIWYG interface. AutoComplete The AutoComplete provides suggestions depending on the typed text. ComboBox The ComboBox widget allows selection from pre-defined values or entering a new value. DatePicker The DatePicker allows the end user to select a date from a calendar or by inputing the data directly. ListView The ListView is designed to give your the freedom to specify custom type of layout for the items displayed in the control. DataSource The DataSource component is an abstraction for using local (arrays of JavaScript objects) or remote (XML, JSON, JSONP) data.
jQuery SVG SVG (Scalable Vector Graphics) is a modularized language for describing two-dimensional vector and mixed vector/raster graphics in XML. It is a W3C Recommendation currently at version 1.1. SVG is a language for describing two-dimensional graphics in XML. SVG allows for three types of graphic objects: vector graphic shapes (e.g., paths consisting of straight lines and curves), images and text. SVG is implemented natively in Firefox from version 1.5, Opera from version 8.5, Safari from version 3.0, and in IE from version 9.0. This plugin allows you to manipulate the SVG from JavaScript. Download and include the jQuery SVG CSS and JavaScript in the head section of your page. Alternatively, you can use the minified version of the code: jquery.svg.min.js (18.7K vs 56.6K, 5.7K when zipped). Attach an SVG canvas to a <div>. Then respond to the load completion and start working with it. You can remove the SVG functionality if you no longer need it. Currently the following extensions are available:
jQuery Form Plugin The following code controls the HTML form beneath it. It uses ajaxForm to bind the form and demonstrates how to use pre- and post-submit callbacks. AJAX response will replace this content. The following code controls the HTML form beneath it. It uses ajaxSubmit to submit the form. This page gives several examples of how form data can be validated before it is sent to the server. The following login form is used for each of the examples that follow. Form Markup: <form id="validationForm" action="dummy.php" method="post"> Username: <input type="text" name="username" /> Password: <input type="password" name="password" /> <input type="submit" value="Submit" /> </form> First, we initialize the form and give it a beforeSubmit callback function - this is the validation function. Validate Using the formData Argument Validate Using the jqForm Argument Validate Using the fieldValue Method Note You can find jQuery plugins that deal specifically with field validation on the jQuery Plugins Page. <? <? <?
Initializr - Start an HTML5 Boilerplate project in 15 seconds! jDataView/jDataView Sass vs. LESS "Which CSS preprocessor language should I choose?" is a hot topic lately. I've been asked in person several times and an online debate has been popping up every few days it seems. It's nice that the conversation has largely turned from whether or not preprocessing is a good idea to which one language is best. Really short answer: Sass Slightly longer answer: Sass is better on a whole bunch of different fronts, but if you are already happy in LESS, that's cool, at least you are doing yourself a favor by preprocessing. Much longer answer: Read on. The Much Longer Answer The Learning Curve with Ruby and Command Line and Whatever The only learning curve is the syntax. Winner: Nobody Helping with CSS3 With either language, you can write your own mixins to help with vendor prefixes. In Sass, you can use Compass, and Compass will keep itself updated, and thus the prefix situation is handled for you. In LESS, there are also some mixin libraries battling to be the best. Winner: Narrowly Sass See that?
Sassaparilla: Sass & Compass Grid System Sass: CSS Pre-Processsor Before you can use Sass, you need to set it up on your project. If you want to just browse here, go ahead, but we recommend you go install Sass first. Go here if you want to learn how to get everything set up. PreprocessingPreprocessing permalink CSS on its own can be fun, but stylesheets are getting larger, more complex, and harder to maintain. This is where a preprocessor can help. Once you start tinkering with Sass, it will take your preprocessed Sass file and save it as a normal CSS file that you can use in your website. The most direct way to make this happen is in your terminal. You can also watch individual files or directories with the --watch flag. sass --watch input.scss output.css You can watch and output to directories by using folder paths as your input and output, and separating them with a colon. sass --watch app/sass:public/stylesheets Sass would watch all files in the app/sass folder for changes, and compile CSS to the public/stylesheets folder. 💡 Fun fact: SCSS Syntax