1. Dodamies uz Admina paneli - http://adrese.ucoz.lv/panel/?a=cp
2. Customize design - Style sheet (CSS)
3. Pašās beigās ievietojam:
Code
/* statistika */
.Online2 {
background: url(/images/b.gif);
border: 1px dashed #5d5d5d;
text-align: center;
padding: 5px;
position: fixed;
bottom: 30px;
left: 10px;
color: #666666;
text-decoration: none;
display:none;
}
/* ------------ */
4. Atrodam vietu, kurā vēlamies redzēt pogu "Online", atveram HTML saturu & ievietojam skriptu:
Code
<script type="text/javascript">
// javascript Document
function cssmenuhover()
{
if(!document.getElementById("cssmenu"))
return;
var lis = document.getElementById("cssmenu").getElementsByTagName("LI");
for (var i=0;i<lis.length;i++)
{
lis[i].onmouseover=function(){this.className+=" iehover";}
lis[i].onmouseout=function() {this.className=this.className.replace(new RegExp(" iehover\\b"), "");}
}
}
if (window.attachEvent)
window.attachEvent("onload", cssmenuhover);
</script>
</td>
<script src="http://ucozwebmeistars.ucoz.lv/js/png.js"></script>
<div onclick="$('#online').toggle('slow');" href="javascript://" class="Online"><img src="http://ucozwebmeistars.ucoz.lv/Pamacibas2/online_lietotaji.png" border="0"></div>
<div id="online" class="Online2">
<fieldset class="counter">
<center>
$ONLINE_COUNTER$
</center>
</fieldset>
</div>
5. Iznākums:
Spiežam uz "ONLINE" pogas, statistika atverās kreisajā malā (sekojošs lodziņš)
http://ucozwebmeistars.ucoz.lv/Pamacibas2/11111111.jpg