<!DOCTYPE html PUBLIC "
<html xmlns="
<head>
<meta http
<title>無標題文檔</title>
<script type="text/javascript" src="jquery
<script type="text/javascript">
$(function(){
var lazyheight =
//獲取數據
function showload(){
lazyheight = parseFloat($(window)
if ($(document)
alert("xxx");
}
}
//showload();
//綁定事件
$(window)
//當滾動條滾動時
showload();
});
})
</script>
</head>
<body>
<img src="
<img src="
<img src="
</body>
</html>
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20441.html