Sliding mini-chat ucoz - UcozBaze All Scripts And Templates
  
Page 1 of 11
UcozBaze All Scripts And Templates » Scripts and Coding » Tag Board » Sliding mini-chat ucoz (Sliding mini-chat ucoz)
Sliding mini-chat ucoz
interoutDate: Thursday, 2011-09-15, 0:39 AM | Message # 1
Group: Administrators
Messages: 1021
33


Go to CP >> Main » Customize design » Editing templates >> Global blocks > Bottom part of the website

And past this code where you want!
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('/images/mini-chat/bg_cod.png');">
<tr>
         <td valign="middle" height="32" background="/images/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('/images/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('/images/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="/images/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:'/images/mini-chat/smile.png'},{url:'/index/35-0-2'});return false; "><img src="/images/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:'/images/mini-chat/support.png'},{url:'/mchat/0-1', xml: false});return false; "><img src="/images/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 -->


Download archive attached to this post and upload content to yours file manager and replace all image links in code

Quote
/images/mini-chat/bg_cod.png
/images/mini-chat/reload.png
/images/mini-chat/smile.png
/images/mini-chat/support.png


 
Message


Go to CP >> Main » Customize design » Editing templates >> Global blocks > Bottom part of the website

And past this code where you want!
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('/images/mini-chat/bg_cod.png');">
<tr>
         <td valign="middle" height="32" background="/images/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('/images/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('/images/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="/images/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:'/images/mini-chat/smile.png'},{url:'/index/35-0-2'});return false; "><img src="/images/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:'/images/mini-chat/support.png'},{url:'/mchat/0-1', xml: false});return false; "><img src="/images/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 -->


Download archive attached to this post and upload content to yours file manager and replace all image links in code

Quote
/images/mini-chat/bg_cod.png
/images/mini-chat/reload.png
/images/mini-chat/smile.png
/images/mini-chat/support.png

Author - interout
Date Added - 2011-09-15 в 0:39 AM
GoblinaSDate: Wednesday, 2011-10-12, 10:40 PM | Message # 2
Group: S-Moderator
Messages: 372
3
This is a great code, but how do I change the transparency or color?

 
MessageThis is a great code, but how do I change the transparency or color?

Author - GoblinaS
Date Added - 2011-10-12 в 10:40 PM
interoutDate: Wednesday, 2011-10-12, 10:42 PM | Message # 3
Group: Administrators
Messages: 1021
33
GoblinaS,

Change background image /images/mini-chat/bg_cod.png

Quote
/images/mini-chat/bg_cod.png


 
MessageGoblinaS,

Change background image /images/mini-chat/bg_cod.png

Quote
/images/mini-chat/bg_cod.png

Author - interout
Date Added - 2011-10-12 в 10:42 PM
GoblinaSDate: Friday, 2011-10-14, 10:18 PM | Message # 4
Group: S-Moderator
Messages: 372
3
interout, Thanks

 
Messageinterout, Thanks

Author - GoblinaS
Date Added - 2011-10-14 в 10:18 PM
StrowsDate: Saturday, 2014-08-30, 4:21 PM | Message # 5
Group: UcozBaze Team
Messages: 1
0
I know this is an old Topic  cry but where can I find the complete code, css entries and images for this 'sliding mini chat' ? biggrin

Message edited by Strows - Saturday, 2014-08-30, 4:35 PM
 
MessageI know this is an old Topic  cry but where can I find the complete code, css entries and images for this 'sliding mini chat' ? biggrin

Author - Strows
Date Added - 2014-08-30 в 4:21 PM
UcozBaze All Scripts And Templates » Scripts and Coding » Tag Board » Sliding mini-chat ucoz (Sliding mini-chat ucoz)
Page 1 of 11
Search:
                                                               
Statistics Forum
New Posts Popular topic Top Forum Users New User

type list Forumo Informatorius (2)
type list Pereiti i kita puslapi forume 1.2.3. Ucoz skriptas (1)
type list The script for the output of a random video from Youtube (0)
type list The script updates the block comment without refreshing the (0)
type list Information about your browser for uCoz (0)
type list Kaip isideti Forum Online/Offline Image Ucoz ? (4)
type list Highlight the code in one click (0)
type list The original form of statistics for uCoz (0)
type list The ban on the entry of certain characters in the Input (0)
type list Clock for site ucoz (0)

type list Skaiciuojam nuo 1 iki 1000 ! (557)
type list Forum SignatureBar (60)
type list Avatars (22)
type list Kaip pakeisti paveiksla mazas? (19)
type list Juokingos Fotkes :) (19)
type list Mini-Chatas islendantis is sono ucoz (15)
type list Mp3-Tau.do.am (13)
type list Шаблон форума для ucoz For-css (12)
type list Ucoz script - favicon (11)
type list Button scrolling up ucoz (10)

interout
GoblinaS
Adi
Esquire
BAtman
WaSHkaZ
Skacikas
meskis
Gytenas
vicka

designcobras
AnelsoNN
nemanjababin
defaultNick0568
mechoochite
mdcurren
yastreb
lad0s™
Lapuxa
th3kizaka


Site design by uCozBaze
uCozBaze © 2011-2016