jQuery图片从下往上滚动效特效代码

版权:原创 更新时间:1年以上
[该文章底部包含文件资源,可根据自己情况,决定是否下载资源使用,时间>金钱,如有需要,立即查看资源]

以下是 jQuery图片从下往上滚动效特效代码 的示例演示效果:

当前平台(PC电脑)
  • 平台:

HTML代码(index.html):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery图片从下往上滚动效果</title>
<link href="css/style.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$('.box .box1').mouseover(function(){
		$(this).stop().animate({"top":"-514px"}, 200); 
	})
	$('.box .box1').mouseout(function(){
		$(this).stop().animate({"top":"0"}, 200); 
	})
})
</script>

</head>
<body>

<div id="in_ct">
<!----------in_ct开始---------->
	<div class="in_ct">	
    	<!----------in_ct1 开始---------->
            <div class="in_ct1">
            	<ul class="box">
                    <li>
                        <div class="box1">
                            <div class="toll_img"><img src="images/in_img1.jpg" width="272" height="514"/></div>
                            <div class="toll_info"><a href="#" target="_blank"><img src="images/in_img1_ho.jpg" height="514" width="272" /></a></div>
                        </div>
                    </li>
                    <li>
                        <div class="box1">
                            <div class="toll_img"><img src="images/in_img2.jpg" width="272" height="514"/></div>
                            <div class="toll_info"><a href="#" target="_blank"><img src="images/in_img2_ho.jpg" height="514" width="272" /></a></div>
                        </div>
                    </li>
                    <li>
                    	<div class="box1">                        
                            <div class="toll_img"><img src="images/in_img3.jpg" width="272" height="514"/></div>
                            <div class="toll_info"><a href="#" target="_blank"><img src="images/in_img3_ho.jpg" height="514" width="272" /></a></div>
                        </div>
                    </li>
                    <li>
                    	<div class="box1">
                            <div class="toll_img"><img src="images/in_img4.jpg" width="272" height="514"/></div>
                            <div class="toll_info"><a href="#" target="_blank"><img src="images/in_img4_ho.jpg" height="514" width="272" /></a></div>
                        </div>
                    </li>
                </ul>  
            </div>
        <!----------in_ct1 结束---------->
	</div>
<!----------in_ct结束---------->
</div>
</body>
</html>







CSS代码(style.css):

@charset "utf-8";*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial,Helvetica,sans-serif,"新宋体";}
#in_ct{width:100%;height:auto;overflow:hidden;margin:6px 0 0;background:url(../images/in_ct_bg.gif) repeat-x;}
.in_ct{width:1110px;height:auto;overflow:hidden;margin:0 auto;background:#fff;}
.in_ct1{width:1110px;height:auto;overflow:hidden;}
.box li{width:272px;height:514px;margin-left:4px;float:left;overflow:hidden;position:relative;}
.toll_img{width:272px;height:514px;}
.toll_info{height:514px;vertical-align:middle;display:table-cell;}
.box li .box1{color:#666;text-decoration:none;position:absolute;top:0;left:0;cursor:pointer;}
附件:下载该文件资源,减少时间成本(增值服务)
留言
该资源可下载
File Source
.rar
336.57 KB
Html 滑动滚动特效
最新结算
HTM5 Canvas实现3D飞机飞行动画特效代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
HTM5 Canvas实现3D飞机飞行动画特效代码
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
jQuery图像缩放工具插件Zoomer特效代码
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
jQuery图像缩放工具插件Zoomer特效代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
Labelauty–jQuery单选框_复选框美化插件特效代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
Labelauty–jQuery单选框_复选框美化插件特效代码
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
jQuery网页版打砖块小游戏源码
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
jQuery网页版打砖块小游戏源码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
jquery虚拟键盘中文打字效果js代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
jquery虚拟键盘中文打字效果js代码
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
我们力求给您提供有用的文章,再此基础上,会附加营收资源,不做任何广告,让平台可以更好发展 若您发现您的权利被侵害,或使用了您的版权,请发邮件联系 sunlifel@foxmail.com ggbig觉得 : 不提供源码的文章不是好文章
合作伙伴
联系我们
  • QQ:21499807
  • 邮箱:sunlifel@foxmail.com
  • QQ扫一扫加QQ
    QQ扫一扫
Copyright 2023-2024 ggbig.com·皖ICP备2023004211号-1
打赏文章