JavaScript image combobox v2.1

JavaScript custom dropdown - JavaScript image combobox

Are you tired with your old fashion dropdown? Try this new one. Image combo box. You can add an icon with each option. It works with your existing "select" element. I hope you'll like this.

jQuery + msDropdown

Preview: 

Preview

Image dropdown features:

  • Fully Skin-able
  • Your original dropdown is safe, so your form post will not be messed.
  • An image can be inserted with your text. Each <option> can have an image.
  • You may covert all combobox as image combobox, you may convert by id, multiple ids, or by wild card. We'll see that in example.
  • Its possible to repopulate the data. You can also Enabled/Disabled your dropdown. You just need to write following code after your population or activities.
        
        //after your activities
        document.getElementById('yourcomboboxid').refresh(); 
        //yes, you are right! A new method refresh() has been added with every combobox.
  • Almost all events are working.

Current Version: 2.1

Whats in v2.1?

  • Each dropdown can have own properties. This was missing badly in previous version.
  • W3C Compatible
  • More Organised
  • True Jquery Plugin
  • Keyboard navigation
  • Multiple selection (List) New
  • Free again :)

Dependency:

Jquery 1.2.6 or later.

This jQuery plugin works perfectly without any modification. Just follow the instruction and enjoy!

How to use (HTML Part)?



AttachmentSize
jquery-image-dropdown-2.1.zip69.95 KB
drupal.module.msdropdown.zip79.22 KB