Перейти к содержанию
View in the app

A better way to browse. Learn more.

Форум VAOZ.RU

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Новый вид онлайн статистики для uCoz

Featured Replies

Опубликовано

5ad4fe62d7c51_uCoz.png.f5ff3f8584e7d827a414128d96ddc063.png

Установка: 

1. Первым делом установим стили, для нашей статистики. Для этого, зайдите в таблицу стилей вашего сайта и в самый низ установите: 

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

2. Далее Найдите у себя $ONLINE_COUNTER$ и замените на: 

<Center><b> 
<div class="statistics"> 

<div class="block"> 
<div id="tnum"></div> 
<span>Всего</span> 
</div> 

<div class="block"> 
<div id="gnum"></div> 
<span>Гости</span> 
</div> 

<div class="block"> 
<div id="unum"></div> 
<span>Польз.</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></center>

 

Для публикации сообщений создайте учётную запись или авторизуйтесь

https://vaoz.ru/topic/566-novyj-vid-onlajn-statistiki-dlya-ucoz/
Рейтинг@Mail.ru Яндекс.Метрика

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.