How do I make it fade up instead and slowly?HTML:$(document).ready( function() { $(".chameleon-hover").on('click', function() { setTimeout( function() { $(".quicklink-side").css("margin-top", "30px"); }, 3000); }); });
Yeah but withHTML:$(document).ready( function() { $(".chameleon-hover").on('click', function() { $(".quicklink-side").delay(3000).slideUp(3000); }); });
both.Not sure what you are wanting, are you wanting it to slide up or add the CSS to it?
$(document).ready( function() {
$(".chameleon-hover").on('click', function() {
setTimeout( function() {
$(".quicklink-side").css('margin-top', '30px').slideUp(3000);;
}, 3000);
});
});