Header – 2 Type of Style
$(document).ready( function() {
$(‘#ctos’).click(function() {
if(($(‘.container’).width()-$(‘.rm_setting_tab’).offset().left)==’50’) {
$(‘.rm_setting_tab’).animate({right: ‘0’,}, 500 );
} else {
$(‘.rm_setting_tab’).animate({right: -$(‘.rm_setting_tab’).width()+50}, 500 );
}
});
});
It has 2 type of style, to check this out live click to open setting tab.
Leave a Reply