|
@@ -520,19 +520,6 @@
|
|
|
$('.pc-index-bottom .bottom-member-ad').unbind('click').click(function () {
|
|
|
window.open(bottom_img[0].s_link)
|
|
|
})
|
|
|
- var imgheight = ($(window).width()*0.11)/2
|
|
|
- // $('.advertising_position_index img').eq(0).height()
|
|
|
- $('.jy-index').css({'padding-top':imgheight+'px'});
|
|
|
- $('#public-nav').css({'height':(imgheight+72)+'px'});
|
|
|
- $('.advertising_position_index').css({'height':imgheight+'px'});
|
|
|
- $('.advertising_position_index a').css({'height':imgheight+'px'});
|
|
|
- $(window).resize(function () {//当浏览器大小变化时
|
|
|
- var imgheight = ($(window).width()*0.11)/2
|
|
|
- $('.jy-index').css({'padding-top':imgheight+'px'});
|
|
|
- $('#public-nav').css({'height':(imgheight+72)+'px'});
|
|
|
- $('.advertising_position_index').css({'height':imgheight+'px'});
|
|
|
- $('.advertising_position_index a').css({'height':imgheight+'px'});
|
|
|
- })
|
|
|
})
|
|
|
</script>
|
|
|
</html>
|