我用暢言評(píng)論時(shí),無(wú)法識(shí)別高度我已經(jīng)在js中加入了<script>
$('#myaffix').affix({
??offset:?{
????top:?100,
????bottom:?function?()?{
??????return?(this.bottom?=?$('#footer').outerHeight(true)?+?$('.gxdbbb').outerHeight(true)?)
????}
??}
})
</script>#footer是底部 + .gxdbbb 就是暢言框架。
bootstrap affix.js無(wú)法識(shí)別部分高度。
Yuriy_Zhang
2016-05-02 23:51:08