Comunitatea uCoz Altele Instrumente şi Script-uri Mini-chat in slide |
Mini-chat in slide |
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('S[img]http://img20.imageshack.us/img20/9642/chatgc.png[/img]ml',' ',-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 : |
Devil, nu cred ca are nici o legatura cu codul $CHAT_BOX$ pentru ca poate sa fie si de 2 ori acel cod in site (adica $CHAT_BOX$) , el vrea sa spuna ca dece este "inchis" , adica el nu a inteles ca e slide ....
Parca trebuie sa apesi pe textul "Mini-chat" din miloc cand e inchis ca sa se deschida si invers , deasta ii zice slide Material modificat de bogdannn96 - Luni, 08/08/2011, 7:28 PM
|
Devil, daca nu este nici un cod modificat din Tag Board respectiv din Appearance of entries si Form for adding new messages nu inteleg ce legatura poate sa aiba pentru ca , doar daca codul postat de tine este pus de 2 ori pe site ar aparea probleme , parerea mea
cnusi, da-mi link-ul sa vad care-i problema |
Quote (Remus) Salut cnusi, problema este ca tu nu ai instalat din Control Panel modulul "Tag Broad" si din cauza asta nu merge. Da Remus,asa este |
Eu am activat Tag board din CP ,am adaugat codul in CP >> Main » Customize design » Editing templates >> Global blocks > Bottom part of the website,la editor visual imi arata chatul,dar pe site nu :(
|
| |||