UzMasters.runing TEPAGA knopkasi bu bilan saytizni pastida tushgan odam knopkani bossa tezda tepaga chiqadi.
Shunchaki pasdagi kodni saytingizning head.phpning <?php kodikan oldingga tashlasangiz ishlaydi (tekshirdim)
<script type="text/jаvаsсriрt" src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script type="text/jаvаsсriрt">
$(function() {
$.fn.scrollToTop = function() {
$(this).hide().removeAttr("href");
if ($(window).scrollTop() >= "250") $(this).fadeIn("slow")
var scrollDiv = $(this);
$(window).scroll(function() {
if ($(window).scrollTop() <= "250") $(scrollDiv).fadeOut("slow")
else $(scrollDiv).fadeIn("slow")
});
$(this).click(function() {
$("html, body").animate({scrollTop: 0}, "slow")
})
}
});
$(function() {
$("
#Go_Top").scrollToTop();
});
</script>
<a style="position: fixed; bottom: 25px; right: 1px; cursor: pointer; display: block;" id="Go_Top">
<img src="https://uzmasters.ru/style/icons/gotop.png" alt="Наверх" title="Yuqoriga" width="50px"></a>