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">
运行代码
查看全文
相关阅读:
补发《超级迷宫》站立会议九
补发《超级迷宫》站立会议八
补发《超级迷宫》站立会议七
补发《超级迷宫》站立会议六
一周开发项目
所学的内容
开发项目和所用时间 感想
自我介绍
大容量数据转移操作命令——BULK INSERT(类似于BCP)
字符编码与文件处理
原文地址:https://www.cnblogs.com/jikey/p/1744953.html
最新文章
Spring中的AOP注解方式和XML方式
Spring中JDBCTemplate的入门
Spring中事务的XML方式[声明方式]
如何学好框架?
《浪潮之巅》读后感
《算法导论》读后感2
《算法导论》读后感
读《编程之美》读后感3
读《编程之美》读后感2
读《编程之美》读后感
热门文章
对搜狗输入法的评价
计算1的数量
站立会议 第五天
站立会议 第六天
《测试驱动开发》阅读笔记三
《测试驱动开发》阅读笔记二
《测试驱动开发》阅读笔记一
补发《超级迷宫》第二阶段站立会议
课程改进意见
补发《超级迷宫》站立会议十
Copyright © 2011-2022 走看看