# Javascript image dropdown - CSS sprite

# Javascript image dropdown Download

| Documentation

Created from HTML SELECT Element

## Countries Dropdown with flag - Bonus with this script :)

Source Code:

`

    <script>
    $(document).ready(function(e) {
    	$("#sample").msDropdown(); // this one already has data-usesprite in SELECT
    	$("#sample2").msDropdown({useSprite:'smallIcons'}); //or you can pass sprite class like this.
        $("#countries").msDropdown(); //image can have css class; Please check source code.
    });
    </script>

`