College is hard. Starting college is even harder. You have to find your way around campus, […]
Events
// Begin of the Skin Change Handler
$presetsItems.on(clickEvent, function(){
var $this = $(this),
skin = $this.data('skin');
// Remove '.active' class from presets items
$presetsItems.removeClass('active');
// Remove skins from tabs
$.each(presets, function(key, value) {
$skinables.removeClass(value);
});
// Add '.active' class to current preset item
$this.addClass('active');
// Add skin class to tabs
$skinables.addClass(skin);
});
// End of the Skin Change Handler
});