javascript

位置:IT落伍者 >> javascript >> 浏览文章

jquery.lazyload 图片延迟加载实例


发布日期:2021年10月17日
 
jquery.lazyload 图片延迟加载实例

<!doctype html public "//wc//dtd xhtml transitional//en" "/dtd/xhtmltransitionaldtd">
<html xmlns="">
<head>
<meta httpequiv="contenttype" content="text/html; charset=gb" />
<title>jquerylazyload 图片延迟加载实例</title>
<script src="; type="text/网页特效"></script>
<script type="text/javascript" src="/js/jquerylazyloadjs"></script>
<script type="text/javascript" >
$(function() {
$("img")lazyload({placeholder : "img/greygif"});
});
</script>
</head>

<body>
<table width="" border="" align="center">
<tr>
<td height=""><img src="/gif" width="" height="" /></td>
</tr>
<tr>
<td height=""><img src="/jpg" width="" height="" /></td>
</tr>
<tr>
<td height=""><img src="/gif" width="" height="" /></td>
</tr>
<tr>
<td height="">&nbsp;</td>
</tr>
<tr>
<td height="">&nbsp;</td>
</tr>
<tr>
<td height="">&nbsp;</td>
</tr>
<tr>
<td height=""><img src="/oraclejpg" width="" height="" /></td>
</tr>
<tr>
<td height="">&nbsp;</td>
</tr>
<tr>
<td height=""><img src="/suningjpg" width="" height="" /></td>
</tr>
<tr>
<td height=""><img src="/zgcjpg" width="" height="" /></td>
</tr>
<tr>
<td height="">&nbsp;</td>
</tr>
<tr>
<td height=""><img src="/woyaojpg" width="" height="" /></td>
</tr>
<tr>
<td height="">&nbsp;</td>
</tr>
<tr>
<td height=""><img src="/zpjpg" width="" height="" /></td>
</tr>
<tr>
<td height="">&nbsp;</td>
</tr>
<tr>
<td height="">&nbsp;</td>
</tr>
<tr>
<td height=""><img src="/happyjpg" width="" height="" /></td>
</tr>
<tr>
<td height="">&nbsp;</td>
</tr>
<tr>
<td height=""><img src="/cocoonjpg" width="" height="" /></td>
</tr>
<tr>
<td height=""><img src="/suningjpg" width="" height="" /></td>
</tr>
</table>

</body>
</html>

jquerylazyloadjs下载

上一篇:jquery (document).ready中使用document.write导致页面空白解决办

下一篇:jquery 简单实用的无缝滚动效果