Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if($(".chatson").length == 0){
- $("body").append('<div class="chatson" style="background: url(/arquivos/chatStatusImage.png) right top; cursor: pointer; border-radius: 0 5px 6px 0; height: 75px; position: absolute; top: 55%; width: 30px;"></div>');
- $(".chatson").click(function(){
- $("body").append('<div class="chatson-overlayson" style="background-color: rgba(255, 255, 255, 0.6);display: block;height: 100% !important;position: fixed;top: 0;width: 100%;z-index: 2147000000;"></div>');
- $("body").append('<div class="chatson-iframeson" style="height: 450px;left: 50%;margin-left: -250px;margin-top: -225px;position: fixed;top: 50%;width: 450px;z-index: 2147483647;"><iframe style="height: 470px; width: 500px;" src="http://www4.directtalk.com.br/chat/?idd=F48800060DF1A0019342&origem=Schumann" frameborder="0"></iframe><div class="closeson-iframeson" style="background: url(/arquivos/schumann-chatson-closeson.jpg); cursor: pointer; height: 24px;position: absolute;right: -45px;top: 5px;width: 24px;"></div></div>');
- $(".chatson-iframeson .closeson-iframeson, .chatson-overlayson").click(function(){
- $(".chatson-iframeson, .chatson-overlayson").remove();
- });
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement