jQuery不同树叶掉落特效代码

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

以下是 jQuery不同树叶掉落特效代码 的示例演示效果:

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

部分效果截图:

jQuery不同树叶掉落特效代码

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=gb2312" />
<meta name="keywords" content="JS代码,图片特效,JS广告代码,JS特效代码" />
<meta name="description" content="此代码内容为jQuery不同树叶掉落特效代码,属于站长常用代码" />
<title>jQuery不同树叶掉落特效</title>
<link rel="stylesheet" type="text/css" href="css/lrtk.css" />
<script type="text/javascript" src="js/jquery.js"></script>
</head>
<body>
<!-- 代码 开始 -->
<div class="Upper">
	<table style="width:100%" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
			<table style="width:600px" border="0" cellspacing="0" cellpadding="0" align="center">

				<tr>
					<td style="padding:70px 0 0" align="left" width="385">
					<h1 style="color:#f4f2ed"></h1>
					<p style="color:#d3f1a0"></p>
					</td>
					<td style="padding:15px 0 0" align="right" width="215">
					<img src="images/Autom-Leaf.png"> </td>
				</tr>
				<tr>
					<td style="padding:10px 0" colspan="2" align="right"></td>
				</tr>
			</table>
			<table style="width:600px" border="0" cellspacing="0" cellpadding="0" align="center">
				<tr>
					<td class="content" style align="left" valign="top" width="600">
					<table border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td style="padding:20px 0 25px 95px" align="left">

							</td>
						</tr>


						<tr>
							<td style="padding:0 0 25px 95px" valign="top">
							</p>
							<div align="center">
								<button id="botAgregar">点击添加更多树叶</button></div>
							<p></p>
							</td>
						</tr>


					</table>
					</td>
				</tr>
			</table>

			</td>
		</tr>
	</table>
</div>
<script type="text/javascript">$.AutomLeafStart({leafsfolder:"images/",howmanyimgsare:8,initialleafs:10,maxYposition:-10,multiplyclick:true,multiplynumber:2,infinite:true,fallingsequence:4000});$("#botAgregar").on("click",function(){$.AutomLeafAdd({leafsfolder:"images/",add:8,})});</script>
<!-- 代码 结束 -->
</body>
</html>







CSS代码(lrtk.css):

/* �����������Ϫ�� www.daanxi.com */
body{margin:0;font-family:Georgia,Times,serif;background:#978f7f url('../images/bg.png');color:#edede8}
p{color:#edede8;font-weight:normal;margin:0;padding:0;line-height:20px;font-size:14px;text-shadow:-1px -1px 1px #666}
h1{color:#f4f2ed;font:normal 54px Georgia,Times,serif;margin:0;padding:0;line-height:55px;font-style:italic}
h3{color:#424242;font-weight:normal;margin:0;padding:0;line-height:26px;font-size:25px}
.title{font-size:12px;line-height:18px;color:#edede8;margin:0;padding:0;z-index:999px}
.Upper{z-index:999}
span{color:#043d18;font-weight:bold}
button{-moz-box-shadow:inset 0 1px 0 0 #caefab;-webkit-box-shadow:inset 0 1px 0 0 #caefab;box-shadow:inset 0 1px 0 0 #caefab;background:-webkit-gradient(linear,left top,left bottom,color-stop(0.05,#77d42a),color-stop(1,#5cb811));background:-moz-linear-gradient(center top,#77d42a 5%,#5cb811 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#77d42a',endColorstr='#5cb811');background-color:#77d42a;-moz-border-radius:31px;-webkit-border-radius:31px;border-radius:31px;border:1px solid #268a16;display:inline-block;color:#306108;font-family:arial;font-size:15px;font-weight:bold;padding:8px 59px;text-decoration:none;text-shadow:1px 1px 0 #aade7c}
button:hover{background:-webkit-gradient(linear,left top,left bottom,color-stop(0.05,#5cb811),color-stop(1,#77d42a));background:-moz-linear-gradient(center top,#5cb811 5%,#77d42a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5cb811',endColorstr='#77d42a');background-color:#5cb811}
button:active{position:relative;top:1px}
.AutomLeaf{position:fixed;opacity:0;z-index:0}
.AutomLeaffalling{position:fixed;top:0;left:0;opacity:0;z-index:0}
.inFront{z-index:100}
.x1{width:75px;height:75px}
.x2{width:100px;height:100px}
.x3{width:125px;height:125px}
.x4{width:150px;height:150px}
附件:下载该文件资源,减少时间成本(增值服务)
留言
该资源可下载
File Source
.rar
174.57 KB
Html JS 图片特效5
最新结算
jquery虚拟键盘中文打字效果js代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
jquery虚拟键盘中文打字效果js代码
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
HTML5实现CSS滤镜图片切换特效代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
jQuery头像裁剪插件cropbox js代码
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
jQuery头像裁剪插件cropbox js代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
jQuery+css3实现信封效果
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
我们力求给您提供有用的文章,再此基础上,会附加营收资源,不做任何广告,让平台可以更好发展 若您发现您的权利被侵害,或使用了您的版权,请发邮件联系 sunlifel@foxmail.com ggbig觉得 : 不提供源码的文章不是好文章
合作伙伴
联系我们
  • QQ:21499807
  • 邮箱:sunlifel@foxmail.com
  • QQ扫一扫加QQ
    QQ扫一扫
Copyright 2023-2024 ggbig.com·皖ICP备2023004211号-1
打赏文章