The original form of statistics for uCoz - UcozBaze All Scripts And Templates
  
Page 1 of 11
UcozBaze All Scripts And Templates » Scripts and Coding » Statistics » The original form of statistics for uCoz (Оригинальный вид статистики для uCoz)
The original form of statistics for uCoz
GoblinaSDate: Tuesday, 2016-07-12, 12:58 PM | Message # 1
Group: S-Moderator
Messages: 372
3


Insert the style sheet (CSS):


Code
.statistics {margin: 20px 0 17px; text-align: center;}  
.statistics .block {display: inline-block; margin: 0 8px; position: relative;}  
.statistics .block div {border: 1px solid; border-radius: 50%; width:
60px; height: 60px; line-height: 53px; font-size: 16px;}  
.statistics span {display: block; border-radius: 3px; width: 54px;
height: 20px; line-height: 20px; font-size: 10px; color: #fff;
text-transform: uppercase; position: absolute; right: 3px; top: 47px;}  
.statistics .block:nth-of-type(1) div {border-color: #ca6539; color: #ca6539;}  
.statistics .block:nth-of-type(1) span {background: #ca6539;}  
.statistics .block:nth-of-type(2) div {border-color: #8bca39; color: #8bca39;}  
.statistics .block:nth-of-type(2) span {background: #8bca39;}  
.statistics .block:nth-of-type(3) div {border-color: #cac839; color: #cac839;}  
.statistics .block:nth-of-type(3) span {background: #cac839;}


Replace $ ONLINE_COUNTER $ with the following code :


Code
<div class="statistics">  

<div class="block">  
<div id="tnum"></div>  
<span>Total</span>  
</div>  

<div class="block">  
<div id="unum"></div>  
<span>Users.</span>  
</div>  

<div class="block">  
<div id="gnum"></div>  
<span>Guests</span>  
</div>  

</div>  

<div style="display: none;">$ONLINE_COUNTER$</div>

<script type="text/javascript">  
$('#tnum').text($('#onl1 b').text());  
$('#gnum').text($('#onl2 b').text());  
$('#unum').text($('#onl3 b').text());  
</script>


 
Message

Insert the style sheet (CSS):


Code
.statistics {margin: 20px 0 17px; text-align: center;}  
.statistics .block {display: inline-block; margin: 0 8px; position: relative;}  
.statistics .block div {border: 1px solid; border-radius: 50%; width:
60px; height: 60px; line-height: 53px; font-size: 16px;}  
.statistics span {display: block; border-radius: 3px; width: 54px;
height: 20px; line-height: 20px; font-size: 10px; color: #fff;
text-transform: uppercase; position: absolute; right: 3px; top: 47px;}  
.statistics .block:nth-of-type(1) div {border-color: #ca6539; color: #ca6539;}  
.statistics .block:nth-of-type(1) span {background: #ca6539;}  
.statistics .block:nth-of-type(2) div {border-color: #8bca39; color: #8bca39;}  
.statistics .block:nth-of-type(2) span {background: #8bca39;}  
.statistics .block:nth-of-type(3) div {border-color: #cac839; color: #cac839;}  
.statistics .block:nth-of-type(3) span {background: #cac839;}


Replace $ ONLINE_COUNTER $ with the following code :


Code
<div class="statistics">  

<div class="block">  
<div id="tnum"></div>  
<span>Total</span>  
</div>  

<div class="block">  
<div id="unum"></div>  
<span>Users.</span>  
</div>  

<div class="block">  
<div id="gnum"></div>  
<span>Guests</span>  
</div>  

</div>  

<div style="display: none;">$ONLINE_COUNTER$</div>

<script type="text/javascript">  
$('#tnum').text($('#onl1 b').text());  
$('#gnum').text($('#onl2 b').text());  
$('#unum').text($('#onl3 b').text());  
</script>

Author - GoblinaS
Date Added - 2016-07-12 в 12:58 PM
UcozBaze All Scripts And Templates » Scripts and Coding » Statistics » The original form of statistics for uCoz (Оригинальный вид статистики для uCoz)
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

AnelsoNN
nemanjababin
defaultNick0568
mechoochite
mdcurren
yastreb
lad0s™
Lapuxa
th3kizaka
projektas420


Site design by uCozBaze
uCozBaze © 2011-2016