Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
malwaredllc
GitHub Repository: malwaredllc/byob
Path: blob/master/web-gui/buildyourownbotnet/assets/js/custom/main.js
1293 views
1
(function(){
2
"use strict";
3
4
5
$(function ($) {
6
7
8
//Detecting viewpot dimension
9
var vH = $(window).height();
10
var vW = $(window).width();
11
12
13
//Adjusting Intro Components Spacing based on detected screen resolution
14
$('.fullwidth').css('width',vW);
15
$('.halfwidth').css('width',vW/2);
16
$('.fullheight').css('height',vH);
17
$('.halfheight').css('height',vH/2);
18
19
//Mobile Menu (multi level)
20
// $('ul.slimmenu').slimmenu({
21
// resizeWidth: '1200',
22
// collapserTitle: 'menu',
23
// easingEffect:'easeInOutQuint',
24
// animSpeed:'medium',
25
// });
26
27
28
29
30
});
31
// $(function ($) : ends
32
33
})();
34
// JSHint wrapper $(function ($) : ends
35