Code Monkey home page Code Monkey logo

jquery.customselect's Introduction

Custom Select Box CSS Style Plugin: jQuery + CSS

Version 0.3.3 (04/03/2013)
 * Pass original `customSelectSpan` reference to changed() function

Version 0.3.2 (28/02/2013)
 * Patch for incorrect select height caused by 0.3.0
 * Support for `disabled` select boxes via customSelectDisabled class
 
Version 0.3.0 (12/02/2013)
 * Refactored coding style
 * Changed filenames to standard jQuery plugin naming conventions
 * Fixed IE6 Filtering
 * Added component.json for bower
 * Moved method 'changed' to local scope
 * Update to Dual GPL/MIT license

Version 0.2.5 (04/02/2013)
 * Updates/fixes to .customSelectChanged class usage
 * customSelectChanged class is added to span when select value changes
 * customSelectChanged class is removed on mousedown or on blur

Version 0.2.4 (03/02/2013)
 * Supports hover via .customSelectHover class on customSelect span

Version 0.2.3 (30/01/2013)
 * Fixes change event not firing for Firefox keyboard users
 * customSelect no longer triggers the change event on initiation

Version 0.2.1 (17/12/2012)
 * Select box listens for 'update' event which can be triggered to update the size and content if needed
 * Removed dependency on $.browser

Version 0.2.0

CHANGES IN 0.2.0
 * Streamlined creation/selection of span elements
 * Renamed span classes to "customSelect" and "customSelectInner" to coinside with plugin name
 * You can now have styles for when select box is open or focused via the classes .customSelectOpen and .customSelectFocus
 * ability to set a custom class by passing in {customClass:'myClassName'}

Copyright 2013 Adam Coulombe

Dual licensed under the MIT and GPL licenses:
 *    http://www.gnu.org/licenses/gpl.html
 *    http://www.opensource.org/licenses/mit-license.php
   

This lightweight, unintrusive technique uses the native select box functionality of the web browser, and overlays a stylable <span> element in order to acheive your desired look. Since it makes use of default browser functionality,it can be treated just like any ordinary HTML select box.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.