@@ -7,20 +7,22 @@ angular.module('app').directive('animateDir', function () {
77 link : function ( scope , elems , attrs ) {
88 $ ( document ) . ready ( function ( ) {
99 $ ( '.side-menu' ) . on ( 'mouseenter' , function ( ) {
10- console . log ( 'this is working' ) ;
11- // $('.side-menu-container').css('width', '160px');
1210 $ ( '.side-menu' ) . css ( 'width' , '215px' ) ;
1311 setTimeout ( function ( ) {
1412 $ ( '.menu-items' ) . css ( 'display' , 'flex' ) ;
1513 } , 200 ) ;
1614 } ) ;
1715 $ ( '.side-menu' ) . on ( 'mouseleave' , function ( ) {
18- console . log ( "it's all gone" ) ;
1916 $ ( '.side-menu' ) . css ( 'width' , '55px' ) ;
2017 $ ( '.menu-items' ) . css ( 'display' , 'none' ) ;
2118 } ) ;
2219 $ ( '.top-menu' ) . on ( 'mouseenter' , function ( ) {
23- console . log ( 'You have entered the twilight zone' ) ;
20+ $ ( '.top-menu' ) . css ( 'background-color' , '#222222' )
21+ } ) ;
22+
23+ $ ( '.top-menu' ) . on ( 'mouseleave' , function ( ) {
24+ console . log ( 'I left the div' ) ;
25+ $ ( '.top-menu' ) . css ( 'background-color' , 'rgba(0,0,0,0)' )
2426 } ) ;
2527
2628 $ ( '.solutions-icon' ) . on ( 'mouseclick' , function ( ) {
0 commit comments