Pop-up mini-chat in the corner of the site + beautiful view - UcozBaze All Scripts And Templates
  
Page 1 of 11
UcozBaze All Scripts And Templates » Scripts and Coding » Tag Board » Pop-up mini-chat in the corner of the site + beautiful view (Pop-up mini-chat in the corner of the site + beautiful view)
Pop-up mini-chat in the corner of the site + beautiful view
interoutDate: Monday, 2012-09-03, 7:16 PM | Message # 1
Group: Administrators
Messages: 1021
33




Installing the chat:

1) Activate the mini-chat (module)
2) In the bottom of the site, after the footer add:


Code
<style>    
    .chat_box {display:none;position:fixed;bottom:15px;right:15px;border:1px solid #dddddd;background:#fbfbfb;padding:4px;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:2px 2px 3px #9b9b9b;-webkit-box-shadow:2px 2px 3px #9b9b9b;box-shadow:2px 2px 3px #9b9b9b;}    
    .chat_box div.close {display:block;position:absolute;right:0;top:0;background:url('http://s019.radikal.ru/i632/1208/59/46619a1a2028.png') no-repeat;width:16px;height:16px;opacity:0.6;-moz-opacity:0.6;filter:alpha(opacity=60);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60);}    
.chat_box div.close:hover {cursor:pointer;opacity:1.0;-moz-opacity:1.0;filter:alpha(opacity=100);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);}    
       
    div.chat_button {display:block;width:75px;height:75px;background:url('http://s48.radikal.ru/i122/1208/c9/be5db128dc47.png') no-repeat;position:fixed;bottom:15px;right:15px;opacity:0.8;-moz-opacity:0.8;filter:alpha(opacity=80);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);}    
div.chat_button:hover {cursor:pointer;opacity:1.0;-moz-opacity:1.0;filter:alpha(opacity=100);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);}    
</style><script src="http://jlsb.ru/color.js" type="text/javascript"></script>
<div class="chat_button" onclick="$('.chat_button').fadeOut('fast');$('.chat_box').slideToggle('slow');"></div>    
<div class="chat_box"><div class="close" onclick="$('.chat_box').slideToggle('fast');$('.chat_button').fadeIn('slow');"></div>    
<div id="chatBox">$CHAT_BOX$</div>    
    <script type="text/javascript">    
    function reloadTimeC() {    
    $('#chatBox').load('/ #chatBox',function(data){    
    $('#reloadSec').html('<span style="color:green;padding-top:4px;">Обновлено</span>');    
    setTimeout("$('#reloadSec').html('')",1000);    
    });    
    };    
    setInterval(reloadTimeC,30000);    
    </script>
</div>



Tag Board ---Appearance of entries:

Code
<div style="text-align:left;background:#ffffff;border:1px solid #CCD3DA;padding:2px;">    
       
    <table width="100%" cellspacing="0" cellpadding="0"><tr><td align="left" valign="top"><div style="font:8pt"><a href="javascript:void('Apply to')" style="color:#000000;" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[i]$NAME$[/i], ';return false;">$NAME$</a></div></td>    
    <td width="85%" align="right" valign="top"><a href="javascript://" style="font:8pt">$TIME$</a></td></tr></table>    
    <div style="text-align:left;font-size:9pt;">$MESSAGE$</div></fieldset>    

    </div><div style="margin-top: 4px;"></div>


Tag Board---Form for adding new messages:

Code
<table width="100%">    
    <tr>    
    <td align="left" valign="top">    
    <textarea name="mcmessage" id="mchatMsgF" title="Сообщение" onkeyup="countMessLength();" onfocus="countMessLength();"></textarea>    
    <div style="float:left;"><div id="chatb" href="$SMILES_URI$"><img src="http://s017.radikal.ru/i431/1208/48/02e8151d2431.gif"></div>    
    <div id="chatb" href="$RELOAD_URI$"><img src="http://s017.radikal.ru/i404/1208/17/69fcd9b33efb.png"></div>    
    <div id="chatb" href="$BBCODES_URI$"><img src="http://i081.radikal.ru/1208/dc/83989baa30fc.png"></div>    
    <div id="chatb" href="$MSGCTRL_URI$"><img src="http://i068.radikal.ru/1208/d4/542d5289a6d2.png"></div></div><div id="reloadSec" style="float:right;"></div>    
    $_SECURITY_CODE$    
    </td>    
    <td width="10%" align="right" valign="top">    
    <div id="buttonsubmit" onclick="$('#mchatBtn').click();">ОК</div>    
    </td>    
    </tr>    
    </table>    
    <style>    
    #mchatMsgF{padding:4px;margin-top:6px;border:1px solid #B5B8C8; background:#ffffff url(http://s011.radikal.ru/i316/1208/9b/e1c038bef0f7.gif) repeat-x 0 0;width:100%;height:42px;font-family:tahoma;font-size:12px;font-weight:bold;}    
    #buttonsubmit{background:#6386d0;border:1px solid #3358a5;padding:13px;margin-top:6px;font-size:12px;color:#FFF;font-weight:bold;cursor:pointer;}    
    #buttonsubmit:hover{background:#7e9fe4;border:1px solid #3358a5;padding:13px;margin-top:6px;font-size:12px;color:#FFF;font-weight:bold;cursor:pointer;text-decoration:underline;}    
    #buttonsubmit:active{background:#4f72bd;border:1px solid #3358a5;padding:13px;margin-top:6px;font-size:12px;color:#FFF;font-weight:bold;cursor:pointer;text-decoration:underline;}    
    #chatb{background:#FFF;border-left:1px solid #B5B8C8;border-right:1px solid #B5B8C8;border-bottom:1px solid #B5B8C8;padding:4px;font-size:12px;color:#FFF;font-weight:bold;cursor:pointer;text-decoration:underline;display:inline-block;}    
    </style>    
    <div style="display:none;"><input type="submit" style="width: 30px;" id="mchatBtn" class="mchat" value="OK"></div>    

    <?if($FLD_SECURE$)?>    
    <table border="0" cellpadding="1" cellspacing="1" width="100%">    
    <tr><td width="50%">$FLD_SECURE$</td><td align="right">$IMG_SECURE$</td></tr>    
    </table>    
    <?endif?>


 
Message




Installing the chat:

1) Activate the mini-chat (module)
2) In the bottom of the site, after the footer add:


Code
<style>    
    .chat_box {display:none;position:fixed;bottom:15px;right:15px;border:1px solid #dddddd;background:#fbfbfb;padding:4px;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:2px 2px 3px #9b9b9b;-webkit-box-shadow:2px 2px 3px #9b9b9b;box-shadow:2px 2px 3px #9b9b9b;}    
    .chat_box div.close {display:block;position:absolute;right:0;top:0;background:url('http://s019.radikal.ru/i632/1208/59/46619a1a2028.png') no-repeat;width:16px;height:16px;opacity:0.6;-moz-opacity:0.6;filter:alpha(opacity=60);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60);}    
.chat_box div.close:hover {cursor:pointer;opacity:1.0;-moz-opacity:1.0;filter:alpha(opacity=100);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);}    
       
    div.chat_button {display:block;width:75px;height:75px;background:url('http://s48.radikal.ru/i122/1208/c9/be5db128dc47.png') no-repeat;position:fixed;bottom:15px;right:15px;opacity:0.8;-moz-opacity:0.8;filter:alpha(opacity=80);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);}    
div.chat_button:hover {cursor:pointer;opacity:1.0;-moz-opacity:1.0;filter:alpha(opacity=100);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);}    
</style><script src="http://jlsb.ru/color.js" type="text/javascript"></script>
<div class="chat_button" onclick="$('.chat_button').fadeOut('fast');$('.chat_box').slideToggle('slow');"></div>    
<div class="chat_box"><div class="close" onclick="$('.chat_box').slideToggle('fast');$('.chat_button').fadeIn('slow');"></div>    
<div id="chatBox">$CHAT_BOX$</div>    
    <script type="text/javascript">    
    function reloadTimeC() {    
    $('#chatBox').load('/ #chatBox',function(data){    
    $('#reloadSec').html('<span style="color:green;padding-top:4px;">Обновлено</span>');    
    setTimeout("$('#reloadSec').html('')",1000);    
    });    
    };    
    setInterval(reloadTimeC,30000);    
    </script>
</div>



Tag Board ---Appearance of entries:

Code
<div style="text-align:left;background:#ffffff;border:1px solid #CCD3DA;padding:2px;">    
       
    <table width="100%" cellspacing="0" cellpadding="0"><tr><td align="left" valign="top"><div style="font:8pt"><a href="javascript:void('Apply to')" style="color:#000000;" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[i]$NAME$[/i], ';return false;">$NAME$</a></div></td>    
    <td width="85%" align="right" valign="top"><a href="javascript://" style="font:8pt">$TIME$</a></td></tr></table>    
    <div style="text-align:left;font-size:9pt;">$MESSAGE$</div></fieldset>    

    </div><div style="margin-top: 4px;"></div>


Tag Board---Form for adding new messages:

Code
<table width="100%">    
    <tr>    
    <td align="left" valign="top">    
    <textarea name="mcmessage" id="mchatMsgF" title="Сообщение" onkeyup="countMessLength();" onfocus="countMessLength();"></textarea>    
    <div style="float:left;"><div id="chatb" href="$SMILES_URI$"><img src="http://s017.radikal.ru/i431/1208/48/02e8151d2431.gif"></div>    
    <div id="chatb" href="$RELOAD_URI$"><img src="http://s017.radikal.ru/i404/1208/17/69fcd9b33efb.png"></div>    
    <div id="chatb" href="$BBCODES_URI$"><img src="http://i081.radikal.ru/1208/dc/83989baa30fc.png"></div>    
    <div id="chatb" href="$MSGCTRL_URI$"><img src="http://i068.radikal.ru/1208/d4/542d5289a6d2.png"></div></div><div id="reloadSec" style="float:right;"></div>    
    $_SECURITY_CODE$    
    </td>    
    <td width="10%" align="right" valign="top">    
    <div id="buttonsubmit" onclick="$('#mchatBtn').click();">ОК</div>    
    </td>    
    </tr>    
    </table>    
    <style>    
    #mchatMsgF{padding:4px;margin-top:6px;border:1px solid #B5B8C8; background:#ffffff url(http://s011.radikal.ru/i316/1208/9b/e1c038bef0f7.gif) repeat-x 0 0;width:100%;height:42px;font-family:tahoma;font-size:12px;font-weight:bold;}    
    #buttonsubmit{background:#6386d0;border:1px solid #3358a5;padding:13px;margin-top:6px;font-size:12px;color:#FFF;font-weight:bold;cursor:pointer;}    
    #buttonsubmit:hover{background:#7e9fe4;border:1px solid #3358a5;padding:13px;margin-top:6px;font-size:12px;color:#FFF;font-weight:bold;cursor:pointer;text-decoration:underline;}    
    #buttonsubmit:active{background:#4f72bd;border:1px solid #3358a5;padding:13px;margin-top:6px;font-size:12px;color:#FFF;font-weight:bold;cursor:pointer;text-decoration:underline;}    
    #chatb{background:#FFF;border-left:1px solid #B5B8C8;border-right:1px solid #B5B8C8;border-bottom:1px solid #B5B8C8;padding:4px;font-size:12px;color:#FFF;font-weight:bold;cursor:pointer;text-decoration:underline;display:inline-block;}    
    </style>    
    <div style="display:none;"><input type="submit" style="width: 30px;" id="mchatBtn" class="mchat" value="OK"></div>    

    <?if($FLD_SECURE$)?>    
    <table border="0" cellpadding="1" cellspacing="1" width="100%">    
    <tr><td width="50%">$FLD_SECURE$</td><td align="right">$IMG_SECURE$</td></tr>    
    </table>    
    <?endif?>

Author - interout
Date Added - 2012-09-03 в 7:16 PM
GoblinaSDate: Friday, 2012-09-07, 10:11 PM | Message # 2
Group: S-Moderator
Messages: 372
3
Works 100% Thanks....

 
MessageWorks 100% Thanks....

Author - GoblinaS
Date Added - 2012-09-07 в 10:11 PM
UcozBaze All Scripts And Templates » Scripts and Coding » Tag Board » Pop-up mini-chat in the corner of the site + beautiful view (Pop-up mini-chat in the corner of the site + beautiful view)
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