html 弹出层

来源:百度知道 编辑:UC知道 时间:2024/06/05 11:01:52
我现在有一个按钮,点击后弹出一个层(子窗口),这是父窗口显灰,不让操作!!子窗口里有一个文本框、一个确认按钮,点击确认按钮后把文本框里的值传回父窗口(放在一个hidden里就可以)

我说的其实就像百度知道的那个登陆一样 呵呵

哪位帮帮我,在网上找了一圈没找到
图片上传了怎么看不到??

<!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>LIGHTBOX EXAMPLE</title>
<style>
* {
margin:0;
padding:0
}
html, body {
height: 100%;
width: 100%;
font-size:12px
}
.white_content {
display: none;
position: absolute;
top: 25%;
left: 25%;
width: 50%;
padding: 6px 16px;
border: 12px solid #D6E9F1;
background-color: white;
z-index:1002;
overflow: auto;
}
.black_