<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jquery图片栅格替换效果 - 网页模板</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.stripesrotator.js"></script>
<script type="text/javascript">
$(document).ready(function() {
// $('#rotator').stripesRotator({ images: $('#imagescontainer') });
// $('#rotator').stripesRotator({ images: [ $('#img1'), $('#img2') ] });
/* TODO: It does not respect the array order. If a background image is set
* in the div, it will be (probably) loaded first, thus it will rotate that
* image with itself. */
$('#rotator').stripesRotator({ images: [ 'images/srot-pic1.jpg', 'images/srot-pic2.jpg'] });
});
</script>
</head>
<body>
<div style="width: 820px; text-align: center; margin: 0 auto;">
<div id="rotator" style="height: 103px; width: 820px; overflow: hidden; padding: 0; background-image: url('srot-pic1.jpg');"></div>
<!--
<div id="imagescontainer" style="display: none;">
<img src="srot-pic1.jpg" alt="" id="img1" />
<img src="srot-pic2.jpg" alt="" id="img2" />
</div>
--></div>
<div style="text-align:center;clear:both">
<p>适用浏览器:IE8、360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗. </p>
<p>来源:<a href="http://www.moobnn.com/" target="_blank">网页模板</a></p>
</div>
</body>
</html>
jquery图片栅格替换效果.zip
版权申诉
193 浏览量
2022-11-22
17:15:37
上传
评论
收藏 138KB ZIP 举报
芝麻粒儿
- 粉丝: 5w+
- 资源: 2万+
最新资源
- tensorflow-gpu-2.7.0-cp37-cp37m-manylinux2010-x86-64.whl
- tensorflow-rocm-2.12.1.570-cp310-cp310-manylinux2014-x86-64.whl
- tensorflow-rocm-2.12.1.570-cp39-cp39-manylinux2014-x86-64.whl
- open_setting.mobileprovision
- zidongdianjiqi.apk
- 卷积神经网络(Convolutional Neural Networks,CNN)是深度学习领域中一种非常重要的神经网络结构,特
- DHT11温湿度传感器是一款高性能、低成本的数字温湿度复合传感器 它集成了温度感应和湿度感应功能,可以准确地测量环境中的温度和湿
- STM32驱动WS2812呼吸灯、频谱,变色变速旋转源程序
- eMMC的压力测试工具
- JUC代码演示 Java多线程并发
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈