MaxRom | Scripturi uCoz Romania

Bannerul tau aici
[ Mesaje noi · Membrii · Regulamentul forumului · RSS ]
Pagina 1 din 11
Forum » uCoz system » Mini Chat » Mini-chat in slide
Mini-chat in slide
Devil Date: Sâmbătă, 2011-05-28, 14:51 | Message # 1
Mesaje: 425
Awards: 15
« 29 »

Instalare :

CP >> Main » Customize design » Editing templates >> Global blocks > Bottom part of the website -> si la sfarsit adaugati :

Code
<!-- Chat -->
<div style="position:absolute;position:fixed;bottom:5;right:10;">
<div id="chat" style="display: none;">
  <table border="0" cellpadding="0" cellspacing="0" width="300" style="border: 1px solid gray; background:url('http://devil-scripts.do.am/maxrom/mini-chat/bg_cod.png');">
<tr>
  <td valign="middle" height="32" background="http://devil-scripts.do.am/maxrom/mini-chat/bg_cod.png">
  <span style="padding-left:5px;padding-bottom:5px;" ><b><font color="#ffffff"> Welcome to chat!</font></b></span>
</td></tr>
<td style="background:url('http://devil-scripts.do.am/maxrom/mini-chat/bg_cod.png'); text-align: center; border-top: 1px solid gray;">

$CHAT_BOX$

</td></tr></table></div>
   
  <div style="height: 22px; width: 298px; border: 1px solid gray; background:url('http://devil-scripts.do.am/maxrom/mini-chat/bg_cod.png'); margin-top: 1px;">
  <div style="float:right; height: 18px; width: 48px; border-left: 1px solid gray;text-align: center; padding-top: 4px;"><font color="#ffffff">

  <!-- time -->
<script type="text/javascript">
var d=document
var NN = d.layers ? true : (window.opera && !d.createComment) ? true:false
function showTime(){
var tmN = new Date()
var dH = '' + tmN.getHours(); dH =dH.length<2 ? '0' + dH:dH
var dM = '' + tmN.getMinutes(); dM =dM.length<2 ? '0' + dM:dM
var dS = '' + tmN.getSeconds(); dS =dS.length<2 ? '0' + dS:dS
var tmp = dH + ':' + dM + ':' + dS
if (NN) d.F.chas.value = tmp;
else d.getElementById('tm').innerHTML=tmp
var t = setTimeout('showTime()',1000)
}
</script>
<div id=tm><form name="F"><input type="button" name="chas" value="XX:XX:XX"></form></div>
<script type="text/javascript">showTime()</script>
  <!-- time / -->

</font></div>
<div style="float: left; padding-top: 3px;">
  <a href="javascript://" rel="nofollow" onclick="document.getElementById('mchatIfm2').src='/mchat/?'+Math.random();return false;" title="Refresh"><img src="http://devil-scripts.do.am/maxrom/mini-chat/reload.png" alt="Refresh" border="0" width="16" height="16" style="padding-left: 3px;"></a>
  <a href="javascript://" rel="nofollow" onclick="new _uWnd('Sml',' ',-250,-350,{autosize:0,closeonesc:1,resize:0,icon:'http://devil-scripts.do.am/maxrom/mini-chat/smile.png'},{url:'/index/35-0-2'});return false; "><img src="http://devil-scripts.do.am/maxrom/mini-chat/smile.png" height="16" width="16" border="0" alt="Smileys" style="padding-left: 3px;"></a>
  <a href="javascript://" rel="nofollow" onclick="new _uWnd('Cntrl','Manager',580,600,{autosize:0,resize:0,icon:'http://devil-scripts.do.am/maxrom/mini-chat/support.png'},{url:'/mchat/0-1', xml: false});return false; "><img src="http://devil-scripts.do.am/maxrom/mini-chat/support.png" height="16" width="16" border="0" alt="Manager" style="padding-left: 3px;"></a></div>
  <div style="margin-top: 4px; text-align:center;"><a href="javascript://" onclick="$('#chat').slideToggle(2000)"><font color="#ffffff">Mini-chat</font></a></div>
</div></div>
<!-- End Chat -->




Rezultat :


 
mihaivali Date: Duminică, 2013-08-18, 23:35 | Message # 2
Mesaje: 13
Awards: 0
« 0 »

dc nu merge sa scriu in el?
test-sport.ucoz.com

 
Muşatinu Date: Marţi, 2013-08-20, 10:11 | Message # 3
Mesaje: 1801
Awards: 202
« 52 »

mihaivali, trebuie sa ai doar un singur chat pe pagina. sterge chat-ul din containerele laterale.



 
Forum » uCoz system » Mini Chat » Mini-chat in slide
Pagina 1 din 11
Căutare: