• Page 1 of 1
  • 1
Forum moderator: Eriko  
uCoz Community » uCoz Modules » Tag Board » Mini Chat code problem
Mini Chat code problem
Davor24
Posts: 330
Reputation: 10

Message # 1 | 9:11 PM
On my site forum when i try to put a mini chat for some reason when i start to write it redirect me to a main page and a basic tag board, i check the code and everything seems to be ok also i have try that code on another site and it works...

Any suggestions?

Mini chat picture:

It's English version, just didn't want to make a new screen-shot happy



Mini Chat code:

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 -->


Of course i upload pictures on my site and i have changed there links in the code...
Attachments: 6900614.png (19.9 Kb)
Post edited by Davor24 - Thursday, 2011-05-26, 9:14 PM
Blazer
Posts: 310
Reputation: 25

Message # 2 | 9:21 PM
where is the mini chat on your site ?
If i helped you + My Reputation and Give me an Award.
Davor24
Posts: 330
Reputation: 10

Message # 3 | 9:35 PM
Quote (Blazer)
where is the mini chat on your site ?


on my forum page in the bottom right corner, it's still transparent i didn't want to change anything until i solve this problem...
Post edited by Davor24 - Saturday, 2011-05-28, 5:38 PM
Blazer
Posts: 310
Reputation: 25

Message # 4 | 9:49 PM
Davor24, ok

Added
---------------------------------------------
Davor24, it is working fine.

If i helped you + My Reputation and Give me an Award.
Post edited by Blazer - Thursday, 2011-05-26, 9:49 PM
Davor24
Posts: 330
Reputation: 10

Message # 5 | 10:08 PM
Blazer, you are wrythe it seems to only some user's have that problem for some reason i didn't notice that before... wacko

Still if anybody have any suggestions how to solve that problem it will bee helpful?
Post edited by Davor24 - Thursday, 2011-05-26, 10:17 PM
Animorph
Posts: 2856
Reputation: 189

Message # 6 | 12:33 PM
Davor24, Do you get this script from ucozers ? well re-check it , i would recommend you to use this script it works like a charm smile
http://forum.ucoz.com/forum/38-8947-1

To busy building a passive income online ;)
uCoz Community » uCoz Modules » Tag Board » Mini Chat code problem
  • Page 1 of 1
  • 1
Search: