|
@@ -55,10 +55,10 @@ $(function(){
|
|
|
menuH();
|
|
|
function menuH(){
|
|
|
let imgH = $('#myCarousel img').height();
|
|
|
- //$('.firstMenu').css('height',imgH+'px');
|
|
|
- // let liH = imgH - $('.firstMenu>p').height();
|
|
|
- // $('.firstMenu ul li').css({
|
|
|
- // 'height':(liH/3)+'px'
|
|
|
- // })
|
|
|
+ $('.firstMenu').css('height',imgH+'px');
|
|
|
+ let liH = imgH - $('.firstMenu>p').height();
|
|
|
+ $('.firstMenu ul li').css({
|
|
|
+ 'height':(liH/3)+'px'
|
|
|
+ })
|
|
|
}
|
|
|
})
|