zoukankan
html css js c++ java
Jqtestdiv
<!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>Document</title> </script> <style type="text/css"> .a{200px;height:300px;border:1px solid #999;overflow:hidden;} .b{80%;height:80px;margin:10px auto;padding:10px;border:1px solid #ccc;background:#eee;cursor:pointer;} </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script> $(function(){ $('.b').click(function(){ $(this).hide(); }); }); </script> </head> <body> <div class="a"> <div class="b">单击关闭111</div> <div class="b">单击关闭22</div> <div class="b">单击关闭333</div> <div class="b">单击关闭444</div> <div class="b">单击关闭555</div> </div> </body> </html>
运行代码
查看全文
相关阅读:
css滚动条设置
动态背景插件three.min.ts
富文本编辑器ckeditor使用(angular中)
angular接口传参
angular组件图标无法显示的问题
angular项目搭建
使用Flume
centos7 安装Flume
centos7 安装kubernetes
Nginx的rewrite对地址进行重写
原文地址:https://www.cnblogs.com/jikey/p/1763522.html
最新文章
如何区分不同用户——Cookie/Session机制详解
jq实现jsonp
input联动计算
svg-star
js下拉加载更多
Be Close To The Real World
react生命周期钩子
Java线程池总结
并发编程的一些总结
MyBatis分页插件PageHelper
热门文章
分布式事务总结
Elasticsearch学习笔记
nginx学习笔记
内存和磁盘
Quartz
Mybatis foreach批量插入与批量更新
chrome浏览器对整个页面进行截屏
常用正则整理
vis.js
git问题及解决方法
Copyright © 2011-2022 走看看