Server IP : 149.255.58.128 / Your IP : 216.73.216.41
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /home/wheelch2/public_html/wp-content/themes/building-lite/js//custom.js
(function( $ ) {
// NAVIGATION CALLBACK
var ww = jQuery(window).width();
jQuery(document).ready(function() {
jQuery(".sitenav li a").each(function() {
if (jQuery(this).next().length > 0) {
jQuery(this).addClass("parent");
};
})
jQuery(".toggleMenu").click(function(e) {
e.preventDefault();
jQuery(this).toggleClass("active");
jQuery(".sitenav").slideToggle('fast');
});
adjustMenu();
})
// navigation orientation resize callbak
jQuery(window).bind('resize orientationchange', function() {
ww = jQuery(window).width();
adjustMenu();
});
var adjustMenu = function() {
if (ww < 1000) {
jQuery(".toggleMenu").css("display", "block");
if (!jQuery(".toggleMenu").hasClass("active")) {
jQuery(".sitenav").hide();
} else {
jQuery(".sitenav").show();
}
jQuery(".sitenav li").unbind('mouseenter mouseleave');
} else {
jQuery(".toggleMenu").css("display", "none");
jQuery(".sitenav").show();
jQuery(".sitenav li").removeClass("hover");
jQuery(".sitenav li a").unbind('click');
jQuery(".sitenav li").unbind('mouseenter mouseleave').bind('mouseenter mouseleave', function() {
jQuery(this).toggleClass('hover');
});
}
}
jQuery(document).ready(function() {
if( jQuery( '#slider' ).length > 0 ){
jQuery('.nivoSlider').nivoSlider({
effect:'fade',
animSpeed: 500,
pauseTime: 3000,
startSlide: 0,
directionNav: true,
controlNav: false,
pauseOnHover:false,
});
}
});
})( jQuery );
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 29 2023 22:41:18 | 1032 / wheelch2 | 0755 | |
| | | | | |
custom.js | 1.579 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
customize-preview.js | 0.419 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
jquery.nivo.slider.js | 29.077 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |