Pridano nastaveni webu
This commit is contained in:
Vendored
+18
-1
@@ -47,4 +47,21 @@ $('.js-delete-button-confirmation-trigger').click(function () {
|
||||
|
||||
$('.js-delete-button-confirmation').attr('hidden', true);
|
||||
$('.js-delete-button-trigger').attr('hidden', false);
|
||||
});
|
||||
});
|
||||
|
||||
$(function() { $('#cp9').colorpicker({ customClass: 'colorpicker-2x', sliders: { saturation: { maxLeft: 200, maxTop: 200 }, hue: { maxTop: 200 }, alpha: { maxTop: 200 } } }); });
|
||||
|
||||
$(function() {$('#cp9').colorpicker().on(
|
||||
'changeColor',
|
||||
function() {
|
||||
$('#cp9').css('background-color',
|
||||
$(this).colorpicker('getValue', '#ffffff'));
|
||||
});
|
||||
});
|
||||
|
||||
$( function() {
|
||||
$('.small-box').click( function() {
|
||||
$('.small-box').removeClass('on')
|
||||
$(this).toggleClass('on');
|
||||
} )
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user