Tutorial Como Colocar Xat Expansivo Igual do Clube dos Narguileiros

1* Entre no PAINEL do blogger, vá em DESIGN/EditarHTML aperte CTRL+Fe procure pela seguinte tag  ]]></b:skin>

2* Após encontrar esta tag ]]></b:skin>, Cole o seguinte códico ACIMA da tag

CÓDICO
#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://img33.imageshack.us/img33/9789/xatabrir.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; }

3* Agora procure pela seguinte tag </body>

4* Após encontrar esta tag </body>, Cole o seguinte códico ACIMA da tag

CÓDICO

<script type='text/javascript'>
function showHideGB(){
var gb = document.getElementById(&quot;gb&quot;);
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(&quot;gb&quot;);
var dx = Math.abs(x0-xf) &gt; 10 ? 5 : 1;
var dir = xf&gt;x0 ? 1 : -1;
var x = x0 + dx * dir;
gb.style.bottom = x.toString() + &quot;px&quot;;
if(x0!=xf){setTimeout(&quot;moveGB(&quot;+x+&quot;, &quot;+xf+&quot;)&quot;, 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 DO SEU XAT ' 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> 

5* Substitua a parte em VERMELHO pelo ID do seu Xat

6* Salve.

nu-mo-so-sfs@hotmail.com
Comentários:
Sem comentários
Categorias:

0 comentários:

Postar um comentário

Comente Não Custa Nada