HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.34
System: Linux atalantini.com 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64
User: root (0)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: //opt/blanc/js/scripts.js
/*
	scripts.js
	License: GNU General Public License v3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html	
	Copyright: (c) 2014 Mamekko, http://welcustom.net
*/

jQuery(function($){
	$('.nav-button').click(function(){
        $('.menu-wrap').slideToggle();
	});
    $('#header li[class*="has_children"], #header li[class*="has-children"]').hover(function(){
        $('>ul',this).slideToggle();
    });
    
    var pagetop = $('.page-top');
    $(window).scroll(function(){
        if($(this).scrollTop() > 200) {
            pagetop.fadeIn('slow');
        } else {
            pagetop.fadeOut('slow');
        }
    });
    
    $('a[href^=#]').click(function(){
        var speed = 500;
        var href= $(this).attr('href');
        var target = $(href == '#' || href == "" ? 'html' : href);
        var position = target.offset().top;
        $('html, body').animate({scrollTop:position}, speed, 'swing');
        return false;
	});
    
    $('#searchsubmit').attr('value', '');
});