cd23ef9f by Jeff Balicki

hover

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 6488e857
...@@ -19482,6 +19482,10 @@ ul.sf_date_field .sf-datepicker { ...@@ -19482,6 +19482,10 @@ ul.sf_date_field .sf-datepicker {
19482 } 19482 }
19483 } 19483 }
19484 19484
19485 .side-menu ul li.page_item_has_children:hover .children {
19486 display: block;
19487 }
19488
19485 #content:not(.search-content) { 19489 #content:not(.search-content) {
19486 display: flex; 19490 display: flex;
19487 } 19491 }
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -20968,6 +20968,20 @@ ...@@ -20968,6 +20968,20 @@
20968 return false; 20968 return false;
20969 } 20969 }
20970 }); 20970 });
20971
20972 // $(document).on({
20973 // mouseenter: function () {
20974 // $(this).find('.has-children').removeClass("closed");
20975 // $(this).find('.has-children').addClass("opened");
20976 // $(this).find('.children').slideDown();
20977 // },
20978 // mouseleave: function () {
20979 // $(this).find('.has-children').removeClass("opened");
20980 // $(this).find('.has-children').addClass("closed");
20981 // $(this).find('.children').slideUp();
20982 // }
20983 // }, ".side-menu ul li.page_item_has_children"); //pass the element as an argument to .on
20984
20971 $(document).ready(function () { 20985 $(document).ready(function () {
20972 $(window).scroll(function () { 20986 $(window).scroll(function () {
20973 if ($('.side-menu').length > 0) { 20987 if ($('.side-menu').length > 0) {
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -4060,6 +4060,11 @@ ...@@ -4060,6 +4060,11 @@
4060 "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", 4060 "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
4061 "dev": true 4061 "dev": true
4062 }, 4062 },
4063 "hoverintent": {
4064 "version": "2.2.1",
4065 "resolved": "https://registry.npmjs.org/hoverintent/-/hoverintent-2.2.1.tgz",
4066 "integrity": "sha512-VyU54L1xW5rSqpsv/LJ6ecymGXsXXeGs9iVEKot4kKBCq5UodSAuy3DqX686LZxEpaMEfeCHPu4LndsMX5Q9eQ=="
4067 },
4063 "http-errors": { 4068 "http-errors": {
4064 "version": "2.0.0", 4069 "version": "2.0.0",
4065 "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", 4070 "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
44 "dependencies": { 44 "dependencies": {
45 "datatables.net-dt": "^1.13.6", 45 "datatables.net-dt": "^1.13.6",
46 "datatables.net-plugins": "^1.13.6", 46 "datatables.net-plugins": "^1.13.6",
47 "hoverintent": "^2.2.1",
47 "rollup-plugin-postcss": "^4.0.2", 48 "rollup-plugin-postcss": "^4.0.2",
48 "swiper": "^8.4.2", 49 "swiper": "^8.4.2",
49 "vanilla-lazyload": "^17.8.4" 50 "vanilla-lazyload": "^17.8.4"
......
...@@ -30,6 +30,21 @@ var sideMenu = (function($) { ...@@ -30,6 +30,21 @@ var sideMenu = (function($) {
30 30
31 }); 31 });
32 32
33
34 // $(document).on({
35 // mouseenter: function () {
36 // $(this).find('.has-children').removeClass("closed");
37 // $(this).find('.has-children').addClass("opened");
38 // $(this).find('.children').slideDown();
39 // },
40 // mouseleave: function () {
41 // $(this).find('.has-children').removeClass("opened");
42 // $(this).find('.has-children').addClass("closed");
43 // $(this).find('.children').slideUp();
44 // }
45 // }, ".side-menu ul li.page_item_has_children"); //pass the element as an argument to .on
46
47
33 48
34 49
35 50
......
...@@ -25,7 +25,11 @@ ...@@ -25,7 +25,11 @@
25 } 25 }
26 } 26 }
27 } 27 }
28 28 .side-menu ul li.page_item_has_children:hover{
29 .children{
30 display: block;
31 }
32 }
29 33
30 #content:not(.search-content){ 34 #content:not(.search-content){
31 display: flex; 35 display: flex;
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
2 Theme Name: MSF CA Child 2 Theme Name: MSF CA Child
3 Author: Tenzing Communications 3 Author: Tenzing Communications
4 Template: msf-ca 4 Template: msf-ca
5 Version: 1.0.493 5 Version: 1.0.494
6 */ 6 */
7 7
......