background preloader

Datepicker for Bootstrap, from Twitter

Datepicker for Bootstrap, from Twitter
Example Attached to a field with the format specified via options. Attachet to a field with the format specified via data tag. As component. Start with years viewMode. Limit the view mode to months Attached to other elment then field and using events to work with the date values. Disabling dates in the past and dependent disabling. Using bootstrap-datepicker.js Call the datepicker via javascript: $('.datepicker').datepicker() Options Markup Format a component. Methods .datepicker(options) Initializes an datepicker. .datepicker('show') Show the datepicker. .datepicker('hide') Hide the datepicker. .datepicker('place') Updates the date picker's position relative to the element .datepicker('setValue', value) Set a new value for the datepicker. Events Datepicker class exposes a few events for manipulating the dates. $('#dp5').datepicker() .on('changeDate', function(ev){ if ( < startDate.valueOf()){ .... } });

Related:  JavaScript libs

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 BigScreen BigScreen.request(element[, onEnter, onExit, onError]) Request that an element go into full screen. If the element is falsy, the documentElement will be used instead. You can only call this from a user-initiated event, otherwise the browser will deny the request. django-bootstrapped 0.1.1-dev A reusable Django application to quickly integrate the Bootstrap toolkit from Twitter. Bootstrapped is a reusable Django application to quickly integrate the Bootstrap toolkit from Twitter. It's a collection of the bootstrap toolkit files and template tags to display them.

DateTime Picker · Bootstrap All options that take a "Date" can handle a Date object; a String formatted according to the given format; or a timedelta relative to today, eg '-1d', '+6m +1y', etc, where valid units are 'd' (day), 'w' (week), 'm' (month), and 'y' (year). You can also specify an ISO-8601 valid datetime, despite of the given format : yyyy-mm-dd yyyy-mm-dd hh:ii yyyy-mm-ddThh:ii yyyy-mm-dd hh:ii:ss yyyy-mm-ddThh:ii:ssZ format

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.

Crossfilter Fast Multidimensional Filtering for Coordinated Views Crossfilter is a JavaScript library for exploring large multivariate datasets in the browser. Crossfilter supports extremely fast (<30ms) interaction with coordinated views, even with datasets containing a million or more records; we built it to power analytics for Square Register, allowing merchants to slice and dice their payment history fluidly. Since most interactions only involve a single dimension, and then only small adjustments are made to the filter values, incremental filtering and reducing is significantly faster than starting from scratch. Crossfilter uses sorted indexes (and a few bit-twiddling hacks) to make this possible, dramatically increasing the perfor­mance of live histograms and top-K lists. For more details on how Crossfilter works, see the API reference.

Bootstrap Xtra extends Bootstrap from Twitter Bootstrap was built from Preboot, an open-source pack of mixins and variables to be used in conjunction with Less, a CSS preprocessor for faster and easier web development. Check out how we used Preboot in Bootstrap and how you can make use of it should you choose to run Less on your next project. How to use it Use this option to make full use of Bootstrap’s Less variables, mixins, and nesting in CSS via javascript in your browser. * { box-sizing: border-box } FTW One of my least favorite parts about layout with CSS is the relationship of width and padding. You’re busy defining widths to match your grid or general column proportions, then down the line you start to add in text, which necessitates defining padding for those boxes. And ‘lo and behold, you now are subtracting pixels from your original width so the box doesn’t expand. Ugh.

CreateJS Recent Updates Follow @CreateJS November 2014 Added Unit Tests to EaselJSUpdates in preparation for new releases (coming soon). 15 More Twitter Bootstrap Resources Twitter Bootstrap now gaining popularity in web development area, because it providing many common usable user interface component, combining with nice simple themes, css framework and javascript element. Many tutorial and resources has been developed to help us getting familiar with bootstrap, in today post I post some more bootstrap resouces that might be useful, I say it “more” cause there are the same article showing bootstrap resources and tools (posted on the bottom of this post), well at least these haven’t been listed before. Yii Bootstrap

Twitter Bootstrap 101: Introduction Twitter's Bootstrap is an excellent set of carefully crafted user interface elements, layouts, and javascript tools, freely available to use in your next web design project. This video series aims to introduce you to Bootstrap; taking you all the way from downloading the resources, to building a complete Bootstrap-based website. When Mark Otto (@mdo) and Jacob Thornton (@fat) released Twitter Bootstrap to the world in August 2011, their announcement explained what its value would be: empowering front-end developers to kickstart projects more efficiently and effectively.

Fluid and Responsive Grid Layouts May 9, 2013. Fluid and responsive layouts are becoming commonplace in modern web designs. It’s important that web applications are usable on all kinds of devices, ranging from smartphones to high-resolution desktop displays. 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.