Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Abrir e Fechar o CHAT
- var aberto = false;
- $('#botao-chat').click(function() {
- if(aberto) {
- $(this).text('ABRIR CHAT');
- $('div.zopim').css("margin-bottom", "0");
- } else {
- $(this).text('FECHAR CHAT');
- $('div.zopim').css("margin-bottom", "50px");
- }
- aberto = !aberto;
- return false;
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement