QUICK NEWS

{NEW} - A new css video is up.

{OLD} - New video courtesy of Skhilled, Thanks for posting it up.

Video of the moment:


Internal Links

SMF Sites

Quick Info

SMF 2.1 Go up mode Custom

Started by replikacep, Oct 08, 2023, 04:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

replikacep

index.template.php  de bul  :

// Show the load time?
 if ($context['show_load_time'])
 echo '
 <p>', sprintf($txt['page_created_full'], $context['load_time'], $context['load_queries']), '</p>';

 echo '
 </div>
 </div><!-- #footer -->';

}

degiştir :

// Show the load time?
 if ($context['show_load_time'])
 echo '
 <p>', sprintf($txt['page_created_full'], $context['load_time'], $context['load_queries']), '</p>';

 echo '
 </div>
 </div><!-- #footer -->
 <a href="#" class="scroll-to-top hidden-print"><i class="fa fa-chevron-up fa-lg"></i></a>
 <a href="', $scripturl, '" class="link-to-home"><i class="fa fa-home fa-lg"></i></a>';

}

index.css ye ekle

.scroll-to-top.active {
    right: 10px;
}
.scroll-to-top i {
    line-height: 37px;
}
.scroll-to-top {
    position: fixed;
    display: block;
    right: -100px;
    bottom: 10px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    background-color: #11bef666 !important;
    color: #fff !important;
    text-align: center;
    z-index: 10;
    border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    box-shadow: none;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}
.link-to-home.active {
    right: 10px;
}
a.link-to-home {
    color: #fff;
}
.link-to-home {
    position: fixed;
    right: -100px;
    bottom: 55px;
    background-color: #11bef699 !important;
    font-size: 15px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 10px 10px 0 0;
    transition: all 0.5s ease;
}

kullanılan tema/scripts/theme.js ye en  sona ekle

$(function() {
    $('#searchlink').on('click', function(e) {
     $(this).toggleClass('open');
    });
});
 $(document).ready(function(){
 $(".dropdown").hover(
 function() {
 $(".dropdown-menu", this).stop( true, true ).fadeIn("fast");
 $(this).toggleClass("open");
 $("b", this).toggleClass("caret caret-up");
 },
 function() {
 $(".dropdown-menu", this).stop( true, true ).fadeOut("fast");
 $(this).toggleClass("open");
 $("b", this).toggleClass("caret caret-up");
 });
 $(".scroll-to-top").click(function() {
 $("html, body").animate({ scrollTop: 0 }, 600);
 return false;
 });
 $(window).scroll(function(){

 var position = $(window).scrollTop();

 if(position >= 200) {
 $(".scroll-to-top").addClass("active")
 $(".link-to-home").addClass("active")
 }
 else {
 $(".scroll-to-top").removeClass("active")
 $(".link-to-home").removeClass("active")
 }
 });
 $( ".navbar-toggle").click(function(){
 $("#menu").addClass("show-menu");
 });
 });

Skhilled


replikacep