My favorites | Sign in
Project Home Downloads Issues Source
Project Information
Members
Featured
Downloads
Links

Introduction

jQuery Selectbox plugin replace browser built-in select box form element with fancy high customizable one.

Current version (0.1.3) add support of:

  • 'optgroup'
  • 'disabled' attribute on both 'option' and 'optgroup'
  • custom speed

Screenshot

Usage

Include (or download)

<link href="http://select-box.googlecode.com/svn/trunk/jquery.selectbox.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script>
<script type="text/javascript" src="http://select-box.googlecode.com/svn/trunk/jquery.selectbox-0.1.3.min.js"></script>

HTML code:

<select id="language">
    <option value="javascript">Javascript</option>
    <option value="objective-c">Objective C</option>
    <option value="python">Python</option>
</select>

Selectbox javascript call:

<script type="text/javascript">
$(function () {
    $("#language").selectbox();
});
</script>

Demo

View demo

Powered by Google Project Hosting