jquery实现的3D旋转木马特效代码分享


Posted in Javascript onAugust 25, 2015

本文实例讲述了jquery实现的3D旋转木马特效。分享给大家供大家参考。具体如下:
这是一款基于jquery实现的3D旋转木马特效代码,适合用于产品展示,便于用户循环浏览产品细节,是一款非常实用的特效代码。
运行效果图:----------------------查看效果 下载源码-----------------------

jquery实现的3D旋转木马特效代码分享

小提示:浏览器中如果不能正常运行,可以尝试切换浏览模式。
为大家分享的jquery实现的3D旋转木马特效代码如下

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<title>jq 3D旋转木马</title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.8.0.js"></script>
<script type="text/JavaScript" src="js/cloud-carousel.1.0.5.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#da-vinci-carousel").CloudCarousel( { 
reflHeight: 56,
reflGap:2,
titleBox: $('#da-vinci-title'),
altBox: $('#da-vinci-alt'),
buttonLeft: $('#but1'),
buttonRight: $('#but2'),
yRadius:40,
xPos: 285,
yPos: 120,
speed:0.15,
mouseWheel:true
});
$("#carousel2").CloudCarousel({ 
xPos:280,
yPos:80,
buttonLeft: $('#but3'),
buttonRight: $('#but4'), 
FPS:30,
autoRotate: 'left',
autoRotateDelay: 1200,
speed:0.2,
mouseWheel:true,
bringToFront:true
}); 
});
</script>
</head>
<body>
<center>
<br><br><br>
<div id="da-vinci-carousel" style="width:570px; height:384px;background: url(images/bg.jpg);overflow:scroll;">
<a href="images/382px-Leonardo_self.jpg" rel='lightbox' title="Leonardo Da Vinci"><img class="cloudcarousel" src="images/test9.png" width="128" height="164" alt="Self-portrait in red chalk, circa 1512-1515." title="Leonardo Da Vinci" /></a> 
<a href="images/396px-Mona_Lisa.jpg" rel='lightbox' title="Mona Lisa"><img class="cloudcarousel" src="images/test1.png" width="128" height="164" alt="Oil on cotton wood, circa 1503?1505." title="Mona Lisa" /></a>
<a href='images/439px-The_Lady_with_an_Ermine.jpg' rel='lightbox' title="Lady with an Ermine"><img class="cloudcarousel" src="images/test2.png" width="128" height="164" alt="Oil on wood panel, 1485." title="Lady with an Ermine" /></a>
<a href="images/Madonna_of_the_Yarnwinder.jpg" rel="lightbox" title="Madonna of the Yarnwinder"><img class="cloudcarousel" src="images/test3.png" width="128" height="164" alt="Oil on canvas, circa 1501." title="Madonna of the Yarnwinder" /></a>
<a href="images/470px-Madonna_Litta.jpg" rel="lightbox" title="Madonna and the Child"><img class="cloudcarousel" src="images/test4.png" width="128" height="164" alt="Oil on canvas (transferred from panel), circa 1490." title="Madonna and the Child" /></a>
<a href="images/390px-Bacchus_painting.jpg" rel="lightbox" title="Bacchus"><img class="cloudcarousel" src="images/test5.png" width="128" height="164" alt="Oil on walnut panel transferred to canvas, circa 1510?1515." title="Bacchus" /></a>
<a href = "images/452px-Madonna_of_the_carnation_EUR.jpg" rel="lightbox" title="Madonna of the Carnation" ><img class="cloudcarousel" src="images/test6.png" width="128" height="164" alt="Oil on panel, circa 1478?1480." title="Madonna of the Carnation" /></a>
<a href="images/454px-Leonardo_-_St._Anne_cartoon-alternative-downsampled.jpg" rel="lightbox" title="The Virgin and Child with St. Anne and St. John the Baptist"><img class="cloudcarousel" src="images/test7.png" width="128" height="164" alt="
Charcoal, black and white chalk on tinted paper, circa 1499?1500." title="The Virgin and Child with St. Anne and St. John the Baptist" /></a>
<a href="images/FileLeonardo-da-Vinci-020.jpg" rel="lightbox" title="The Virgin and Child with St. Anne"><img class="cloudcarousel" src="images/test8.png" width="128" height="164" alt="Oil on panel, circa 1510." title="The Virgin and Child with St. Anne" /></a>
<div id="da-vinci-title" ></div>
<div id="da-vinci-alt" ></div>
<div id="but1" class="carouselLeft" style="position:absolute;top:20px;right:64px;"></div>
<div id="but2" class="carouselRight" style="position:absolute;top:20px;right:20px;"></div> 
</div>
</center>
<div style="text-align:center;clear:both">
</div>
</body>
</html>

以上就是为大家分享的jquery实现的3D旋转木马特效代码,希望大家可以喜欢。

Javascript 相关文章推荐
jQuery 图像裁剪插件Jcrop的简单使用
May 22 Javascript
jquery 框架使用教程 AJAX篇
Oct 11 Javascript
基于JQuery的密码强度验证代码
Mar 01 Javascript
js中格式化日期时间型数据函数代码
Nov 08 Javascript
代码获取历史上的今天发生的事
Apr 11 Javascript
smartcrop.js智能图片裁剪库
Oct 14 Javascript
javascript实现密码验证
Nov 10 Javascript
JS区分浏览器页面是刷新还是关闭
Apr 17 Javascript
JavaScript学习笔记之惰性函数示例详解
Aug 27 Javascript
微信小程序制作扭蛋机代码实例
Sep 24 Javascript
javascript事件循环event loop的简单模型解释与应用分析
Mar 14 Javascript
如何使JavaScript休眠或等待
Apr 27 Javascript
jQuery+CSS实现的网页二级下滑菜单效果
Aug 25 #Javascript
jQuery实现点击小图显示大图代码分享
Aug 25 #Javascript
基于jquery实现select选择框内容左右移动添加删除代码分享
Aug 25 #Javascript
jquery实现鼠标经过显示下划线的渐变下拉菜单效果代码
Aug 24 #Javascript
基于jQuery实现在线选座之高铁版
Aug 24 #Javascript
jQuery实现TAB风格的全国省份城市滑动切换效果代码
Aug 24 #Javascript
jquery实现像栅栏一样左右滑出式二级菜单效果代码
Aug 24 #Javascript
You might like
php smarty模版引擎中变量操作符及使用方法
2009/12/11 PHP
PHP中foreach循环中使用引用要注意的地方
2011/01/02 PHP
PHP array_multisort() 函数的深入解析
2013/06/20 PHP
destoon实现调用自增数字从1开始的方法
2014/08/21 PHP
PHP+Ajax实现上传文件进度条动态显示进度功能
2018/06/04 PHP
Laravel等框架模型关联的可用性浅析
2019/12/15 PHP
javascript 对象定义方法 简单易学
2009/03/22 Javascript
jquery可见性过滤选择器使用示例
2013/06/24 Javascript
原生js实现改变随意改变div属性style的名称和值的结果
2013/09/26 Javascript
jquery预览图片实现鼠标放上去显示实际大小
2014/01/16 Javascript
jQuery 处理页面的事件详解
2015/01/20 Javascript
详解Bootstrap glyphicons字体图标
2016/01/04 Javascript
浅谈jQuery 选择器和dom操作
2016/06/07 Javascript
快速掌握jQuery插件开发
2017/01/19 Javascript
jQuery排序插件tableSorter使用方法
2017/02/10 Javascript
VUE中的无限循环代码解析
2017/09/22 Javascript
关于vue-router的那些事儿
2018/05/23 Javascript
微信小程序 腾讯地图SDK 获取当前地址实现解析
2019/08/12 Javascript
JavaScript 面向对象基础简单示例
2019/10/02 Javascript
javascript实现异形滚动轮播
2019/11/28 Javascript
python实现系统状态监测和故障转移实例方法
2013/11/18 Python
Python语言的12个基础知识点小结
2014/07/10 Python
python生成圆形图片的方法
2020/03/25 Python
python3+PyQt5使用数据库窗口视图
2018/04/24 Python
Python实现多条件筛选目标数据功能【测试可用】
2018/06/13 Python
原生python实现knn分类算法
2019/10/24 Python
Python实现自动签到脚本功能
2020/08/20 Python
使用CSS3来制作消息提醒框
2015/07/12 HTML / CSS
全方位了解CSS3的Regions扩展
2015/08/07 HTML / CSS
使用CSS3的::selection改变选中文本颜色的方法
2015/09/29 HTML / CSS
CSS3标注引用的出处和来源的方法
2020/02/25 HTML / CSS
优秀毕业大学生推荐信
2013/11/13 职场文书
物业保安主管岗位职责
2013/12/25 职场文书
人力资源管理专业求职信
2014/07/23 职场文书
解决Golang中goroutine执行速度的问题
2021/05/02 Golang
Python 操作pdf pdfplumber读取PDF写入Exce
2022/08/14 Python