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">
运行代码
查看全文
相关阅读:
Diffusion Particle Resolver
GPU Jacobi Iterator
Remark for ColorSpectrum Rendering
关于Windows的命令行多语言输出
DPR Sphere in Cloud
看到一篇有意思的东西,记录一下
GFS的系统架构
jsp实现树状结构
工作笔记
批量删除
原文地址:https://www.cnblogs.com/jikey/p/1744953.html
最新文章
字符串问题分析方法
汉诺塔 从某个状态移动到另外一个状态
Compare “overriding”, “overloading“ and “name hiding” in C++
字符串编程练习1 通配符匹配
回溯法、分支界限与动态规划
理解volatile关键字(zz)
(转)Linux 套接字编程中的 5 个隐患
linux下进程的最大线程数、进程最大数、进程打开的文件数
(转)使用 C++ 处理 JSON 数据交换格式
(转)linux开机启动过程简介
热门文章
(原)nginx+FastCGI+c++
node.js学习整理
(转)js prototype 详解
(原)C++智能指针——释放器(in linux, g++)
(转)守护进程原理分析以及linux下的daemon函数使用
Journey of Life
三言两语说清“线性流程”
Yet Another STORM
Master RenderMan Procedural Primitive DSO
随想
Copyright © 2011-2022 走看看