鼠标点击事件
来源:互联网 发布:nginx 单ip 多域名 编辑:程序博客网 时间:2024/05/16 15:58
<html>
<head>
<title>鼠标点击事件</title>
</head>
<style type="text/css">
#body{
background-color:blue;
width:300px;
height:300px;
}
.head{
font-size:16px;
background-color:pink;
width:300px;
height:30px;
cursor:pointer;
}
.text{
display:none;
width:300px;
height:100px;
}
.one{
margin-left:30px;
font-size:30px;
}
.two{
margin-left:30px;
font-size:30px;
}
.three{
margin-left:30px;
font-size:30px;
}
</style>
<script src="../script/jquery-1.3.1.js" type="text/javascript">
</script>
<script type="text/javascript">
$(function(){
$("#body div.head").toggle(function(){
$(this).next().hide(1000);
},function(){
$(this).next().show(1000);
})
})
</script>
<body>
<div id="body">
<div class="head" align="center">abc</div>
<div class="text">
<div class="one"><a href="http://www.baidu.com">one</a></div>
<div class="two">two</div>
<div class="three">three</div>
</div>
</div>
</body>
</html>
<head>
<title>鼠标点击事件</title>
</head>
<style type="text/css">
#body{
background-color:blue;
width:300px;
height:300px;
}
.head{
font-size:16px;
background-color:pink;
width:300px;
height:30px;
cursor:pointer;
}
.text{
display:none;
width:300px;
height:100px;
}
.one{
margin-left:30px;
font-size:30px;
}
.two{
margin-left:30px;
font-size:30px;
}
.three{
margin-left:30px;
font-size:30px;
}
</style>
<script src="../script/jquery-1.3.1.js" type="text/javascript">
</script>
<script type="text/javascript">
$(function(){
$("#body div.head").toggle(function(){
$(this).next().hide(1000);
},function(){
$(this).next().show(1000);
})
})
</script>
<body>
<div id="body">
<div class="head" align="center">abc</div>
<div class="text">
<div class="one"><a href="http://www.baidu.com">one</a></div>
<div class="two">two</div>
<div class="three">three</div>
</div>
</div>
</body>
</html>
- 模拟鼠标点击事件
- 关于鼠标点击事件
- 鼠标点击事件
- watir鼠标点击事件
- js鼠标点击事件
- 鼠标点击事件
- 鼠标移动/点击事件
- 鼠标点击事件总结
- JavaScript鼠标点击事件
- 获取鼠标点击事件
- 鼠标的点击事件
- highcharts鼠标点击事件
- 触发鼠标点击事件
- UE4 鼠标点击事件 || 虚幻4 鼠标点击事件
- QT鼠标点击响应事件
- vs2005 鼠标点击事件移动
- 鼠标三种点击事件
- VC 动态控制鼠标点击事件
- 动态链接到静态链接故障排除
- komode xdebug
- 获取SQL 执行时间 、日期与长整型换转
- 一些遊戲製作有關的博客
- Shell 基本编程
- 鼠标点击事件
- C#创建Window服务
- 把ClientDataSet的修改的数据集Delta提交到服务器端
- Android JNI小实例
- 类图结构
- 《深入浅出 Java Concurrency》目录
- excel中对单元格进行读写保护
- 鼠标经过事件
- Linux如何查看内存使用状况