Skip to content

codezninja/ms-Dropdown

 
 

Repository files navigation

Can someone please create a help doc for this plugin? - Thanks in advance

v3.5.2 updates: 13 July, 2013

  • height bug fixed.
  • multiple indexes can be set via object. ie. var oDropdown = $("#element").msDropdown().data("dd"); oDropdown.set("selectedIndex", [1,4]);
  • checkbox selection is fixed when setting index via object.
  • css .arrow class is changed to .ddArrow (it was too common)

v3.5.1 updates:

  • (used for my personal project - did not get the chance to update - Sorry!)

v3.5 updates: 3 June, 2013

  • conflict edit in source js file fixed
  • autofilter is now configurable - it can be enable/disable by setting params or data-enableautofilter="true" attribute.
  • next/previous bug fixed when autofilter is on.
  • Bug fixed when item opens upward after autofilter.

v3.4 updates: 31 May, 2013

  • refresh method is back. you can refresh your dropdown to update the UI and value with the original dropdown or by the msdropdown object. i.e: $("#dropdownid").msDropdown().data("dd").refresh(); //or document.getElementById("dropdownid").refresh();
  • removed underscore from the all the variables and methods name - for the sake of jslint
  • reverseMode - reverseMode settings param is true... When you update your original dropdown it will update the msdropdown UI and value. This is usefull when you use knockoutjs or other library
  • Now you can set open direction to always down by settings params in settings or data {openDirection:"alwaysdown"}

v3.3 updates: 02 Feb, 2013

  • $.browser - jQuery 1.9 version fixed
  • Keyboard navigation issue has been fixed
  • destory is now destroy - oops typo error

v3.2 updates: 26 Nov, 2012

  • All setting parameters can passed throught element's data- attributes. ie. data-maincss="blue"
  • zIndex bug fixed for list and dropdown if both on the same page.
  • Added setIndexByValue method. However same can be done by - handler.set("value", value)
  • Added "append" and "prepend" in setting params. append is used to append the element to the childdiv and prepend do as the name suggest.
  • Added one more help file for objected oriented approach.

v3.1.1 updates:

  • chrome onchange bug fixed
  • zindex bug fixed for msie
  • add method bug fixed for msie

v3.1 updates:

  • Child width can be alter
  • New multiple is introduced. Its multiple but with the checkbox.
  • Bonus: elementname_mscheck will be posted along with the form post/get. i.e. if element name is "tech" checkbox tech_mscheck[] is created. However you can set the suffix using 'checkboxNameSuffix' parameter.

v3.0 updates:

  • Written from scratch
  • Improved performance and UI
  • Improved auto filter experience
  • Added data- support in attributes for image, description, title, imagecss, text and value
  • Event can be bind/unbind through object
  • Organized folder structure
  • Old style (with title attribute) is also working.
  • Country dropdown with flags as a bonus
v2.38 updates:
  • document keydown/keyup method unbind
  • added json support in title. {image:'', title:''}
  • onchange bug on onclose
  • CSS style declaration problem
  • jQuery 1.7.1 compatibility issue
  • IE8 sprite
v2.37.5 updates:
  • Fixed an ie6 error.
v2.37 updates:
  • values are updated properly when it opens upwards
  • Now works with jQuery 1.6.1.
  • Improved performance
  • Added quick selection. Filter options on key press
v2.36 updates:
  • Onchange bug has been fixed. Finally :)
  • No more id is required.
v2.35 updates:
  • Now works in FF4.
  • Onchange bug has been fixed.
  • DropUp when your dropdown is showing at bottom of the page.
  • Some minor ui changes
v2.3 updates:
  • CSS sprite chrome bug has been fixed.

License

You may use msDropDown under the terms of either the MIT License or the Gnu General Public License (GPL) Version 2.

The MIT License is recommended for most projects. It is simple and easy to understand, and it places almost no restrictions on what you can do with msDropDown.

If the GPL suits your project better, you are also free to use msDropDown under that license.

You don't have to do anything special to choose one license or the other, and you don't have to notify anyone which license you are using.

About

Image dropdown - convert your dropdown to image dropdown

Resources

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
GPL-LICENSE.txt
MIT
MIT-LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published