Eae galera hoje eu vou ensinar a como colocar xat expansivel
Então vamos lá :)
Primeiramente abra o painel do blogger, clique em Design, Editar HTML
agora aperte CTRL+F e procure pela palavra ]]></b:skin>
Após encontrar a palavra, cole o seguinte código imediatamente acima da tag :
#gb { position:fixed; bottom:-340px; z-index:+1000; right:160px; } * html #gb { position:relative; } .gbtab { height:48px; width:677px; margin-left: 45px; cursor:pointer; background:url('http://upamais.com/images/44162584588374493186.png') no-repeat; margin-top:0px; } .gbcontent { float:left; border:7px solid #000; background:#fff; -webkit-border-radius: 20px; border-radius: 20px; -khtml-border-radius: 20px; padding:8px; }
procure por </body> E cole o seguinte código imediatamente ACIMA dela:
<script type='text/javascript'>
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 425-w) : moveGB(425-w, 0);
gb.opened = !gb.opened;
}
function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
gb.style.bottom = x.toString() + "px";
if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
}
</script>
<div id='gb'> <div class='gbtab' onclick='showHideGB()'> </div> <div class='gbcontent'> <div style='line-height:0;background-position:center;width:735px;height:310px;'> <embed align='middle' allowscriptaccess='sameDomain' flashvars='id=171610461' height='310' name='chat' pluginspage='http://xat.com/update_flash.shtml' quality='high' src='http://www.xatech.com/web_gear/chat/chat.swf' type='application/x-shockwave-flash' width='735' wmode='transparent'/> </div> </div> </div>
Substitua a parte em vermelho pelo código do seu Xat.
Agora é só salvar e ver como que ficou
Comentários