Skip to content

mpettitt/jquery.customSelect

 
 

Repository files navigation

Custom Select Box CSS Style Plugin: jQuery + CSS

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 2021 Adam Coulombe

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
   

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.

About

Lightweight, unobtrusive, custom style select boxes with jQuery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%