insanelyBlog/themes/default/theme.js

8 lines
300 B
JavaScript
Raw Normal View History

2016-06-18 10:07:35 +02:00
$(document).ready(function(){
$("#sidebarSw").click(function(){
if ($("#sidebarCt").hasClass('open'))
$("#sidebarCt").css('display', 'hidden').animate({'width': '0px'}).removeClass('open');
else
$("#sidebarCt").css('display', 'block').animate({'width': '300px'}).addClass('open');
});
});