create custom dropdown using jquery and unordered list
##Description This plugin helps you to create custom dropdwon with normal select drop down. And the styles will be same with any browser.
- Please see demo/dropdown.html
- jQuery 1.2.6+
- Firefox 2.0+
- Internet Explorer 6+
- Safari 3+
- Opera 10.6+
- Chrome 8+
- First, make sure you are using valid DOCTYPE
- Include nessesary JS files from js folder
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="path-to-file/jQuery.dropdown.js"></script>
- description: dropdown element text color
- data type: 'string'
- default value: '#cecece'
- possible value: 'any value for text color'
- description: when dropdown disabled set txt color
- data type: 'string'
- default value: '#ccc'
- possible value: 'any value for color'
- description: when dropdown disabled set border
- data type: 'string'
- default value: '1px solid #c8c8c8'
- possible value: 'any value for border'
- description: you can change traingle icon by adding some class with triangle
- data type: 'string'
- default value: 'triangle-bottom'
- possible value: 'any class you defined'
Example code: $('#myDropdown').dropDownList();
The expandable plugin is licensed under the MIT License (LICENSE.txt).
Copyright (c) 2016 Supun Sameera Liyanage