<script type="text/javascript">
var oP = document.getElementById('content_information');
var allContent = oP.innerHTML;
var len = allContent.length
oP.innerHTML = oP.innerHTML.substr(0,800)
$(document).ready(function(){
var range = 300; //距下边界长度/单位px
var totalheight = 0;
var num = 1000
$(window).scroll(function(){
var srollPos = $(window).scrollTop(); //滚动条距顶部距离(页面超出窗口的高度)
totalheight = parseFloat($(window).height()) + parseFloat(srollPos);
if(($(document).height()-range) <= totalheight) {
if(num<len){
str = allContent.substr(0,num+500)
oP.innerHTML=str
num+=500
}
else{
$("#follow").html('已到达底部')
}
}
});
});
</script>
var oP = document.getElementById('content_information');
var allContent = oP.innerHTML;
var len = allContent.length
oP.innerHTML = oP.innerHTML.substr(0,800)
$(document).ready(function(){
var range = 300; //距下边界长度/单位px
var totalheight = 0;
var num = 1000
$(window).scroll(function(){
var srollPos = $(window).scrollTop(); //滚动条距顶部距离(页面超出窗口的高度)
totalheight = parseFloat($(window).height()) + parseFloat(srollPos);
if(($(document).height()-range) <= totalheight) {
if(num<len){
str = allContent.substr(0,num+500)
oP.innerHTML=str
num+=500
}
else{
$("#follow").html('已到达底部')
}
}
});
});
</script>