runxinzhi.com
首页
百度搜索
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">
运行代码
相关阅读:
【JZOJ5603】【NOI2018模拟3.27】Xjz
【JZOJ5605】【NOI2018模拟3.26】Arg
【agc004e】Salvage Robots
【agc004c】AND Grid
【agc004d】Teleporter
【agc002f】Leftmost Ball
【agc002d】Stamp Rally
【arc068F】Solitaire
51nod 1172 Partial Sums V2
快速数论变换NTT模板
原文地址:https://www.cnblogs.com/jikey/p/1744953.html
最新文章
[开源]ZXING的.NET版本源码解析
S2SH之简易的Web Service实现
Python调用OpenCV实现摄像头的运动检测
WINFORM中加入WPF控件并绑定数据源实现跨线程自动更新
[理论基础]二维图像滤波处理的理论基础
【开源】ZXING的.NET版本源码解析
Python调用Tesseract-OCR和Zxing完成图片OCR识别和二维码解码
C#类对象的事件定义
noip训练 2018.10.22~2018.10.23
5天noip训练心得
热门文章
【51nod 1340】地铁环线
【51nod 1667】概率好题
支配树小记
【51nod 2004】终结之时
【JZOJ5801】【2018.8.12省选模拟】circular
【51nod 1038】X^A Mod P
【51nod 1245】Binomial Coefficients Revenge
【51nod 1847】奇怪的数学题
Codeforces Round #446 Div1 E
【agc005d】~K Perm Counting
Copyright © 2020-2023
润新知