zoukankan      html  css  js  c++  java
  • 简单的动画

    <!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>
    
    		<title>hello</title>
    
    		<meta http-equiv="Content"  "content=text/html; charset=utf-8" />
    		<script type="text/javascript"
    
    		src="jquery-1.5.0-vsdoc.js"></script>
    
    		<script type="text/javascript"
    
    		src="jquery-1.4.2.js"></script>
    
    		<style type="text/css">
    			.divFrame {
    				border:solid 1px #ccc;
    				background-color:#eee;
    				60px;
    				height:60px;
    				font-size:13px;
    				padding:5px
    			}
    		</style>
    
    		<script type="text/javascript">
    			$( function() {
    				$(".divFrame").click( function() {
    					$(this).animate({
    						"20%",
    						height:"70px"
    					},3000, function() {
    						$(this).html("变大了");
    					})
    				}
    				)
    			})
    		</script>
    	</head>
    	<body>
    		<div class="divFrame">
    			点击变大
    		</div>
    
    	</body>
    
    </html>
    

    ==============================================================================

    本博客已经废弃,不在维护。新博客地址:http://wenchao.ren


    我喜欢程序员,他们单纯、固执、容易体会到成就感;面对压力,能够挑灯夜战不眠不休;面对困难,能够迎难而上挑战自我。他
    们也会感到困惑与傍徨,但每个程序员的心中都有一个比尔盖茨或是乔布斯的梦想“用智慧开创属于自己的事业”。我想说的是,其
    实我是一个程序员

    ==============================================================================
  • 相关阅读:
    Python 爬取网易云歌手的50首热门作品
    对于AES和RSA的个人理解
    sqlzoo
    项目部署 uwsgi+nginx+crm
    nginx学习
    redis补充知识--- 缓存击穿、缓存雪崩、缓存穿透
    redis-cluster 搭建
    redis主从复制
    redis-sentinel (哨兵)
    redis 发布订阅
  • 原文地址:https://www.cnblogs.com/rollenholt/p/2109571.html
Copyright © 2011-2022 走看看