Вход Регистрация
Файл: assets/js/main.js
Строк: 49
<?php
/*
    Verti by HTML5 UP
    html5up.net | @ajlkn
    Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

(function($) {

    var    
$window = $(window),
        
$body = $('body');

    
// Breakpoints.
        
breakpoints({
            
xlarge:  [ '1281px',  '1680px' ],
            
large:   [ '981px',   '1280px' ],
            
medium:  [ '737px',   '980px'  ],
            
small:   [ null,      '736px'  ]
        });

    
// Play initial animations on page load.
        
$window.on('load', function() {
            
window.setTimeout(function() {
                
$body.removeClass('is-preload');
            }, 
100);
        });

    
// Dropdowns.
        
$('#nav > ul').dropotron({
            
mode'fade',
            
noOpenerFadetrue,
            
speed300
        
});

    
// Nav.

        // Toggle.
            
$(
                
'<div id="navToggle">' +
                    
'<a href="#navPanel" class="toggle"></a>' +
                
'</div>'
            
)
                .
appendTo($body);

        
// Panel.
            
$(
                
'<div id="navPanel">' +
                    
'<nav>' +
                        $(
'#nav').navList() +
                    
'</nav>' +
                
'</div>'
            
)
                .
appendTo($body)
                .
panel({
                    
delay500,
                    
hideOnClicktrue,
                    
hideOnSwipetrue,
                    
resetScrolltrue,
                    
resetFormstrue,
                    
side'left',
                    
target$body,
                    
visibleClass'navPanel-visible'
                
});

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