How to install:
We use the following html frame and set it in the place where we want to see information about the browser.
Code
<div class="cell-your-browser">
<div class="your-browser-info">Ваш браузер </div>
<?if($USER_AGENT$='firefox')?> <a class="your-browser-ico brauzer-mf"
href="/go?http://www.mozilla.org/ru/firefox/new/"
title="http://www.mozilla.org/ru/firefox/new/" title="Скачать браузер
Mozilla Firefox" target="_blank">FireFox -
$USER_AGENT_VER$</a><?endif?>
<?if($USER_AGENT$='chrome')?><a class="your-browser-ico
brauzer-gx"href="/go?http://www.google.ru/chrome"
title="http://www.google.ru/chrome" title="Скачать браузер Google
Chrome" target="_blank">Chrome -
$USER_AGENT_VER$</a><?endif?>
<?if($USER_AGENT$='opera')?><a class="your-browser-ico
brauzer-op"href="/go?http://www.opera.com/download/"
title="http://www.opera.com/download/" title="Скачать браузер
Opera"target="_blank">Opera -
$USER_AGENT_VER$</a><?endif?>
<?if($USER_AGENT$='safari')?><a class="your-browser-ico
brauzer-sf"href="/go?http://www.apple.com/ru/safari/"
title="http://www.apple.com/ru/safari/" title="Скачать браузер Apple
Safari" target="_blank">Safari -
$USER_AGENT_VER$</a><?endif?>
<?if($USER_AGENT$='ie')?><a class="your-browser-ico
brauzer-ie"href="/go?http://windows.microsoft.com/ru-RU/internet-explorer/products/ie/home"
title="http://windows.microsoft.com/ru-RU/internet-explorer/products/ie/home"
title="Скачать браузер Internet Explorer"target="_blank">Internet
Explorer - $USER_AGENT_VER$</a><?endif?>
</div>
This code uses the system variables uCoz, which determine and display information about the user's browser.In the next step, we need to add styles for the script:Code
/* Отображаем информацию ваш браузер на uCoz
------------------------------------------*/
.cell-your-browser {
float:left;
padding: 10px;
font:10px Verdana,Arial,Helvetica, sans-serif;
}
.your-browser-info {
float:left;
height: 14px;
padding: 3px 5px 2px 0px;
}
.your-browser-ico:link,
.your-browser-ico:visited {
float:left;
height: 14px;
padding: 3px 10px 2px 25px;
text-shadow: 1px 1px 1px #333;
font-weight: 700;
color:#eaeaea;
border-radius:3px;
display:block;
text-decoration:none;
outline:none
}
.your-browser-ico:hover {
color:#eaeaea;
}
.brauzer-mf {
background:#555 url(http://art-ucoz.ru/files/hacki/7/50461424.png) no-repeat left;
background-position:0px 1px;
}
.brauzer-mf:hover {
background:#777 url(http://art-ucoz.ru/files/hacki/7/50461424.png) no-repeat left;
background-position:0px 1px;
}
.brauzer-gx {
background:#555 url(http://art-ucoz.ru/files/hacki/7/50461424.png) no-repeat left;
background-position:0px -19px;
}
.brauzer-gx:hover {
background:#777 url(http://art-ucoz.ru/files/hacki/7/50461424.png) no-repeat left;
background-position:0px -19px;
}
.brauzer-op {
background:#555 url(http://art-ucoz.ru/files/hacki/7/50461424.png) no-repeat left;
background-position:0px -38px;
}
.brauzer-op:hover {
background:#777 url(http://art-ucoz.ru/files/hacki/7/50461424.png) no-repeat left;
background-position:0px -38px;
}
.brauzer-sf {
background:#555 url(http://art-ucoz.ru/files/hacki/7/50461424.png) no-repeat left;
background-position:0px -56px;
}
.brauzer-sf:hover {
background:#777 url(http://art-ucoz.ru/files/hacki/7/50461424.png) no-repeat left;
background-position:0px -56px;
}
.brauzer-ie {
background:#555 url(http://art-ucoz.ru/files/hacki/7/50461424.png) no-repeat left;
background-position:0px -74px;
}
.brauzer-ie:hover {
background:#777 url(http://art-ucoz.ru/files/hacki/7/50461424.png) no-repeat left;
background-position:0px -74px;
}
After installing the CSS stylesheet, script installation is complete.