$CHAT_BOX$ alternate code $CHAT_BOX$
DEEPKG
Posts: 316
Message # 1 |
5:58 AM
2011-05-01
hello frnds , i want to know the alternate code for $CHAT_BOX$ help me pls
I Try to help. U can Try to give Rep ++ For my try :P
Animorph
Posts: 2856
Message # 2 |
9:56 AM
2011-05-01
DEEPKG , there is no alternative code for $CHAT_BOX$.
To busy building a passive income online ;)
DEEPKG
Posts: 316
Message # 3 |
10:06 AM
2011-05-01
sir, as i hav created my own java script chat box http://software-lint.ucoz.com/
by applying this 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('http://ucozers.ucoz.com/images/mini-chat/bg_cod.png');"> <tr> <td valign="middle" height="32" background="http://ucozers.ucoz.com/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('http://ucozers.ucoz.com/images/mini-chat/bg_cod.png'); text-align: center; border-top: 1px solid gray;"> <iframe id="mchatIfm2" style="width:100%;height:300px" frameborder="0" scrolling="auto" hspace="0" vspace="0" allowtransparency="true" src="http://ucozer.ucoz.com/mchat/"></iframe> <script type="text/javascript"> function sbtFrmMC991(f){$('#mchatBtn').css({display:'none'});$('#mchatAjax').css({display:''});_uPostForm('MCaddFrm',{type:'POST',url:'/mchat/?497884494.6469'});} function countMessLength(){var rst = 200-$('#mchatMsgF').val().length;if (rst<0){rst=0;$('#mchatMsgF').val($('#mchatMsgF').val().substr(0,200));}$('#jeuwu28').html(rst);} var tID7174=-1;var tAct7174=false; function setT7174(s){var v=parseInt(s.options[s.selectedIndex].value);document.cookie="mcrtd="+s.selectedIndex+"; path=/";if(tAct7174){clearInterval(tID7174);tAct7174=false;}if(v>0){tID7174=setInterval("document.getElementById('mchatIfm2').src='/mchat/?'+Math.random();",v*1000);tAct7174=true;}} function initSel7174() {var res=document.cookie.match(/(\W|^)mcrtd=([0-9]+)/);if(res){s=$("#mchatRSel")[0];;s.selectedIndex=parseInt(res[2]);setT7174(s);}$("#mchatMsgF").bind("keydown",function(e){if(e.keyCode==13 && e.ctrlKey && !e.shiftKey){e.preventDefault();sbtFrmMC991();}})} </script> <form style="margin:0;padding:0;" id="MCaddFrm" onsubmit="sbtFrmMC991();return false;"> <table border="0" cellpadding="1" cellspacing="1" width="100%"> <tr><td><select id="mchatRSel" onchange="setT7174(this);" class="mchat" size="1" title="Autorefresh" style="font-size:7pt;"><option value="0">--</option><option value="15">15 sec</option><option value="30">30 sec</option><option value="60">1 min</option><option value="120">2 min</option></select></td> <td width="70%" align="right"> <a href="javascript://" rel="nofollow" onclick="document.getElementById('mchatIfm2').src='/mchat/?'+Math.random();return false;" title="Refresh"><img alt="" border="0" align="absmiddle" src="http://s43.ucoz.net/img/fr/mcr.gif" width="13" height="15"></a> </td></tr></table> <table border="0" cellpadding="1" cellspacing="1" width="100%"> <tr><td colspan="2"><input type="text" maxlength="60" name="uname" size="8" class="mchat" id="mchatNmF" value="Name" title="Name" onfocus="if(this.value==$(this).attr('title')){this.value='';}" style="width:100%;"></td></tr> <tr><td width="50%"></td><td></td></tr> </table> <table> <tr><td> <center><LEGEND><B><STRONG><div style="width:290px;border: #5d5d5d 1px solid;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius: 2px;"><center><a onclick="$('#Icons').slideToggle('slow');" href="javascript://"><div class="statfrof1"><font style="color: #fff">Select icon:</font></div></a></center></div></STRONG></B></LEGEND> <div id="Icons" style="display:none;"><div align="center"> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/smile.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/angry.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/user_info.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/movies.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/1.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/2.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/4.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/5.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/6.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/9.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/13.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/17.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/18.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> <img src="http://ucozers.ucoz.com/images/mini-chat/icons/24.png" style="cursor:pointer" onclick="$('#mchatC1F').val(this.src);" /> </div></div></center> <table border="0" cellpadding="1" cellspacing="1" width="100%"> <tr><td width="50%"><input type="text" maxlength="60" name="custom1" class="mchat" id="mchatC1F" value="Other 1" title="Other 1" onfocus="if(this.value==$(this).attr('title')){this.value='';}" style="width:100%;"></td><td></td></tr> </table> <script type="text/javascript">$('#mchatC1F').hide();</script> </td></tr> </table> <table border="0" cellpadding="1" cellspacing="1" width="100%"> <tr><td width="50%"><input class="mchat" title="Security code" id="secuCodeMc3" type="text" name="code" style="width:60px;font-size:20px;" size="5" maxlength="4" /><input type="hidden" name="seckey" value="780487662" /></td><td align="right"><img alt="" style="margin:0;padding:0;border:0;cursor:pointer;" align="absmiddle" title="Refresh security code" id="mcSecurImg3" onclick="this.src='http://ucozers.ucoz.com/secure/?k=780487662;s=mchat;tm='+Math.random();" src="http://ucozers.ucoz.com/secure/?k=780487662;s=mchat;tm=1304222804" /></td></tr> </table> <table border="0" cellpadding="1" cellspacing="1" width="100%"> <tr><td width="95%" rowspan="2"><textarea name="mcmessage" class="mchat" id="mchatMsgF" title="Message" onkeyup="countMessLength();" onfocus="countMessLength();" style="height:40px;width:100%;resize:none;"></textarea></td> <td align="center" valign="top"><div style="font-size:10px;"><b id="jeuwu28">200</b></div></td> </tr><tr><td align="center" valign="bottom"><div style="width:30px"><input type="submit" value="OK" class="mchat" id="mchatBtn" style="width:30px;"><img alt="" style="display:none;" id="mchatAjax" src="http://s102.ucoz.net/img/fr/ajax3.gif" border="0" width="16"/></div></td></tr></table> <input type="hidden" name="numa" id="numa832" value="0"><input type="hidden" name="a" value="18"><input type="hidden" id="ajaxFlag" name="ajax" value="1" /></form> <script type="text/javascript">initSel7174();</script> </td></tr></table></div> <div style="height: 22px; width: 298px; border: 1px solid gray; background:url('http://ucozers.ucoz.com/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"></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://ucozers.ucoz.com/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:'http://ucozers.ucoz.com/images/mini-chat/smile.png'},{url:'/index/35-0-2'});return false; "><img src="http://ucozers.ucoz.com/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','Cata Menidžeris',580,600,{autosize:0,resize:0,icon:'http://ucozers.ucoz.com/images/mini-chat/support.png'},{url:'/mchat/0-1', xml: false});return false; "><img src="http://ucozers.ucoz.com/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">Software-lint-chat</font></a></div> </div></div> <!-- End Chat -->
I Try to help. U can Try to give Rep ++ For my try :P
Animorph
Posts: 2856
Message # 4 |
10:07 AM
2011-05-01
DEEPKG , and what do you want to say ? , the code is from uCozers , if you have problems with it you should check their forum..
To busy building a passive income online ;)
DEEPKG
Posts: 316
Message # 5 |
10:11 AM
2011-05-01
sir u check my website code hav been puted and working half not fully working wat should i do !!!!
I Try to help. U can Try to give Rep ++ For my try :P
Animorph
Posts: 2856
Message # 6 |
10:15 AM
2011-05-01
DEEPKG , i also tested it and you are correct , security codes are broke and conditional operators doesn't work + there is alot of things messed up., So what i would do is notify the "creators" and use this code instead http://forum.ucoz.com/forum/38-8947-1
To busy building a passive income online ;)
DEEPKG
Posts: 316
Message # 7 |
10:19 AM
2011-05-01
Animorph
Posts: 2856
Message # 8 |
10:20 AM
2011-05-01
DEEPKG , like i said before , by having a good design and content. discuss this in our offtopic board. - Locked and Trashed -
To busy building a passive income online ;)