zoukankan
html css js c++ java
Jq弹出公告
<!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>豪情</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script><style> *{margin:0;padding:0;font-size:12px;} li{float:left;100px;border:1px solid #ccc;list-style:none;text-align:center;} h3{margin:20px auto;text-align:center;} input{120px;height:30px;cursor:pointer;} #notice{position:absolute;400px;padding:20px;background:#eee;border:1px solid #ccc;left:10px;top:10px;display:none;} </style> <script> $(function(){ $('#open').click(function(){ $('#notice').slideDown(); $('#texta').val('豪情').select(); }); $('#closed').click(function(){ $('#notice').slideUp(); }); }); </script></head> <body> <h3> <input id="open" type="button" value="弹出公告" /><br /> <input id="closed" type="button" value="关闭公告" /> </h3> <div id="notice"> <textarea name="" id="texta" cols="30" rows="10">
运行代码
查看全文
相关阅读:
08-蓝图&单元测试
07-多对多操作
JAVA 判断字符串是否可转化为JSONObject、JSONArray
git常用命令
线程和进程的一些基本概念
JavaWeb学习总结(七):通过Servlet生成验证码及其应用 (BufferedImage类)
JavaWeb学习总结(十):Session简单使用
Ubuntu16.04 安装maven
Ubuntu16.04 安装redis
Ubuntu16.04 下安装tomcat
原文地址:https://www.cnblogs.com/jikey/p/1744953.html
最新文章
CSRF漏洞挖掘 由 CSRF 引起的 XSS 漏洞小结
浅谈Session机制及CSRF攻防
05-文档编辑与yum命令
04-磁盘管理
03-用户和用户组管理
02-文件操作和目录管理
01-linux介绍
20-其他功能
19-视图集ViewSet和路由Routers
18-视图说明
热门文章
01-顺序表
17-REST framework-Request与Response
16-DRF工程搭建与序列化器
15-Django开发REST接口
14-认识DjangoRESTframework
13-分页
12-上传图片
03-交互与搭建集群
02-其他数据类型
01-String(键命令)
Copyright © 2011-2022 走看看