在页面里点击一个按钮后出来一个层,可以操作的那么一个层!

演示:http://www.bl.gov.cn/english/invest_adv.php

这个页面里面你点一下中间那个YOUR QUESTION,出来一个层,可以操作的

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0043)http://www.bl.gov.cn/english/invest_adv.php -->
<HTML><HEAD><TITLE>The windows of BEILUN</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="The windows of BEILUN" name=subsite>
<META content=BEILUN name=location>
<META content="BEILUN info" name=location>
<META content=BEILUN name=title>
<META content="The windows of BEILUN" name=description>
<META content=zhuchenxiao name=author>
<META content=govement name=category>
<META content=2006-05-11 name=pubDate>
<META content=beilun name=guid>
<META content=2007-05-11 name=effectiveTime>
<META content=1 name=level>
<META content=BEILUN name=source>
<META content=enlish name=language><LINK
href="The windows of BEILUN_files/en_style.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript>
function checkform(){
var name = document.form1.name.value;
var company=document.form1.company.value;
var content=document.form1.content.value;

if (name=="") {
alert("Please enter your name!");
document.form1.name.focus();
return false;
}
if (company=="") {
alert("The company name can be empty!");
document.form1.company.focus();
return false;
}
if (content=="") {
alert("Please enter your question!");
document.form1.content.focus();
return false;
}
return true;
}

function del()
{
return confirm("Are you sure??");
}

function Email_deoxidize(s)
{
var i;
var s2 = s;

while(s2.indexOf("!")>0)
{
i = s2.indexOf("!");
s2 = s2.substring(0, i) + "@"
+ s2.substring(i + 1, s2.length);
}
return s2;
}

function Show(divid,left,top) {
divid.style.left = left;
divid.style.top = top;
divid.filters.revealTrans.apply();
divid.style.visibility = "visible";
divid.filters.revealTrans.play();
}
function Hide(divid) {
divid.filters.revealTrans.apply();
divid.style.visibility = "hidden";
divid.filters.revealTrans.play();
}
function SetLoginId(id) {
document.form2.gid.value = id;
}
function SetReplyId(id){
document.form4.gid.value=id;
}
</SCRIPT>

<SCRIPT type=text/JavaScript>
<!--

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</SCRIPT>

<STYLE type=text/css>
BODY {
BACKGROUND-COLOR: #cccccc
}
</STYLE>

<STYLE type=text/css>
.table1 {
FONT-SIZE: 1px; BACKGROUND-COLOR: #666666
}
.gust_name {
COLOR: #000000; LINE-HEIGHT: 200%; FONT-FAMILY: "新宋体"; TEXT-DECORATION: none
}
.table2 {
FONT-SIZE: 9pt
}
.style5 {
COLOR: #ff0000
}
.small {
FONT-SIZE: 9px; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: none
}
.style7 {
COLOR: #000000
}
.table002 {
FONT-SIZE: 9pt; BACKGROUND-COLOR: #f8e9ee
}
.table004 {
BORDER-RIGHT: #00215a 1px dashed; BORDER-TOP: #00215a 1px dashed; BORDER-LEFT: #00215a 1px dashed; WORD-BREAK: break-all; BORDER-BOTTOM: #00215a 1px dashed
}
.style8 {
COLOR: #000000
}
.inputxx {
BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FONT-SIZE: 12px; BORDER-LEFT: #000000 1px solid; COLOR: #000000; BORDER-BOTTOM: #000000 1px solid; FONT-FAMILY: "新宋体"; BACKGROUND-COLOR: #e8e8e8; TEXT-DECORATION: none
}
.input1 {
BORDER-RIGHT: #333333 1px solid; BORDER-TOP: #333333 1px solid; FONT-SIZE: 9pt; BORDER-LEFT: #333333 1px solid; BORDER-BOTTOM: #333333 1px solid; BACKGROUND-COLOR: #f0f6fd
}
.style9 {
COLOR: #000000
}
.table0041 {BORDER-RIGHT: #00215a 1px dashed; BORDER-TOP: #00215a 1px dashed; BORDER-LEFT: #00215a 1px dashed; WORD-BREAK: break-all; BORDER-BOTTOM: #00215a 1px dashed
}
</STYLE>

<META content="MSHTML 6.00.3790.0" name=GENERATOR></HEAD>
<BODY>
<TABLE cellSpacing=0 cellPadding=5 width="95%" align=center
border=0>
<TBODY>

<TR>
<TD style="LETTER-SPACING: 1px"><TABLE cellSpacing=0 cellPadding=0 width="100%"
align=center border=0>
<TBODY>

<TR>
<TD align=middle width="17%"><A
onclick=Show(ly,document.body.scrollLeft+event.clientX,document.body.scrollTop+event.clientY);
href="javascript:;"><IMG height=25
src="The windows of BEILUN_files/post.gif"
width=99 border=0></A></TD>
<TD align=right width=300><DIV id=ly
style="Z-INDEX: 6; FILTER: revealTrans(transition=23,duration=0.5) blendTrans(duration=0.5); LEFT: 181px; VISIBILITY: hidden; WIDTH: 445px; POSITION: absolute; TOP: 157px; HEIGHT: 313px">
<TABLE class=table0041 height="100%" cellSpacing=1
cellPadding=0 width="100%" border=0>
<TBODY>

<TR>
<TD bgColor=#ffffff><TABLE height="100%" cellSpacing=0 cellPadding=3
width="100%" border=0>
<FORM name=form1 action=?act=ly method=post>
<TBODY>
<TR>
<TD align=middle bgColor=#eef0ef colSpan=2
height=20><TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD align=middle><SPAN class=style8>Raise your
question online!</SPAN></TD>
<TD width=10><A href="javascript:;"><IMG
onclick=Hide(ly) height=10
src="The windows of BEILUN_files/close.gif"
width=10
border=0></A></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR bgColor=#dbe2ec>
<TD vAlign=center align=right width="28%">Title: </TD>
<TD vAlign=center width="72%"><INPUT
class=input1 id=title2 maxLength=60 name=title>
<SPAN class=style5>*</SPAN>(less
than<STRONG>60</STRONG> characters) </TD>
</TR>
<TR bgColor=#dbe2ec>
<TD vAlign=center align=right>Issuer: </TD>
<TD vAlign=center><INPUT class=input1
id=guest_name maxLength=20 name=guest_name>
<SPAN class=style5>*</SPAN>(less than <STRONG>20 </STRONG>characters) </TD>
</TR>
<TR bgColor=#dbe2ec>
<TD vAlign=center align=right>Sex:</TD>
<TD vAlign=center><INPUT type=radio CHECKED
value=M name=sex>
Male
<INPUT type=radio value=F
name=sex>
Female</TD>
</TR>
<TR bgColor=#dbe2ec>
<TD vAlign=center align=right>Email:</TD>
<TD vAlign=center><INPUT class=input1 id=email
maxLength=50 name=email></TD>
</TR>
<TR bgColor=#dbe2ec>
<TD vAlign=center align=right>Company name:</TD>
<TD vAlign=center><INPUT class=input1
id=guest_co maxLength=40 size=40
name=guest_co></TD>
</TR>
<TR bgColor=#dbe2ec>
<TD vAlign=center align=right>Company
Website:</TD>
<TD vAlign=center>HTTP://
<INPUT class=input1
id=website maxLength=40 size=33
name=website></TD>
</TR>
<TR bgColor=#f8d8e0>
<TD vAlign=center align=right
bgColor=#dbe2ec>Content:</TD>
<TD vAlign=center bgColor=#dbe2ec><TEXTAREA class=input1 id=content name=content rows=8 cols=45></TEXTAREA>
</TD>
</TR>
<TR bgColor=#dbe2ec>
<TD vAlign=center align=right>&nbsp;</TD>
<TD vAlign=center><INPUT type=hidden CHECKED
value=N name=is_lock>
<INPUT class=inputxx type=submit value=Enter name=Submit></TD>
</TR>
</FORM>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
</DIV></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
</BODY></HTML>

你可能感兴趣的:(JavaScript,html,PHP,windows,css)