components_dropdowns.js 595 Bytes
Newer Older
sistem17user committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
/* ------------------------------------------------------------------------------
*
*  # Dropdown menus
*
*  Specific JS code additions for components_dropdowns.html page
*
*  Version: 1.0
*  Latest update: Aug 1, 2015
*
* ---------------------------------------------------------------------------- */

$(function() {

	// Styled checkboxes/radios
	$('.styled').uniform({
		radioClass: 'choice'
	});


	// Switchery toggles
	var toggle = Array.prototype.slice.call(document.querySelectorAll('.switchery'));
	
	toggle.forEach(function(html) {
		var switchery = new Switchery(html);
    });

});