Вход Регистрация
Файл: CloudBox-main/CloudBox/user_assets/js/main.js
Строк: 47
<?php
jQuery
(function($){
    
/**
     * Script for navigation menu
     *
     */
    
$('#navmenu').tinyNav({
        
header'Menu' // Writing any title with this option triggers the header
    
});

    
/**
     * Extra script for smoothier navigation effect
     */
    
if ($(window).width() > 960) {
        $(
'#menu-navi .dropdown-toggle').addClass('disabled');
        $(
'.navbar .dropdown').hover(function () {
            
"use strict";
            $(
this).addClass('open').find('.dropdown-menu').first().stop(truetrue).delay(250).slideDown();
        }, function () {
            
"use strict";
            var 
na = $(this);
            
na.find('.dropdown-menu').first().stop(truetrue).delay(100).slideUp('fast', function () {
                
na.removeClass('open');
            });
        });
    }

    
/**
     * Script for back-to-top button effect
     */
    
$(window).scroll(function () {
        if ($(
this).scrollTop() != 0) {
            $(
'#bttop').fadeIn();
        } else {
            $(
'#bttop').fadeOut();
        }
    });
    $(
'#bttop').click(function () {
        $(
'body,html').animate({scrollTop0}, 800);
    });


});
?>
Онлайн: 1
Реклама