<HTML>
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"/>
<Title> Ajax prompt box </title>
<Style type = "text/CSS">
A {color: #000; font-size: 12px; text-Decoration: None}
A: hover {color: #900; text-Decoration: underline}
Body {Background:; filter: progid: DXImageTransform. Microsoft. gradient (gradienttype = 0, startcolorstr = # ffffff, endcolorstr = #003366); overflow: hidden}
# Massage_box {position: absolute; left: expression (body. clientWidth-350)/2); top: expression (body. clientHeight-200)/2); width: 350px; Height: 200px; filter: dropshadow (color = #666666, offx = 3, offy = 3, positive = 2); Z-index: 2; visibility: hidden}
# Mask {position: absolute; top: 0; left: 0; width: expression (body. scrollwidth); Height: expression (body. scrollheight); Background: #666; filter: alpha (opacity = 60); Z-index: 1; visibility: hidden}
. Massage {border: #036 solid; border-width: 1 1 3 1; width: 95%; Height: 95%; Background: # FFF; color: #036; font-size: 12px; line-Height: 150%}
. Header {Background: #036; Height: 10%; font-family: verdana, Arial, Helvetica, sans-serif; font-size: 12px; padding: 3 5 0 5; color: # fff}
</Style>
<! -- Implement layer movement -->
<Script language = "JavaScript">
VaR OBJ =''
Document. onmouseup = MUP
Document. onmousemove = mmove
Function mdown (object ){
OBJ = object. ID
Document. All (OBJ). setcapture ()
Px = event. x-document.all (OBJ). style. pixelleft;
Py = event. y-document.all (OBJ). style. pixeltop;
}
Function mmove (){
If (OBJ! = ''){
Document. All (OBJ). style. Left = event. X-Px;
Document. All (OBJ). style. Top = event. Y-py;
}
}
Function MUP (){
If (OBJ! = ''){
Document. All (OBJ). releasecapture ();
OBJ = '';
}
}
</SCRIPT>
</Head> <body>
<Div id = "massage_box"> <Div class = "massage">
<Div class = "Header" onmousedown = mdown (massage_box)> <Div style = "display: inline; width: 150px; position: absolute"> tip </div>
<Span onclick = "massage_box.style.visibility = 'den den '; mask. style. visibility = 'den den '"style =" float: Right; display: inline; cursor: Hand "> × </span> </div>
<Ul style = "margin-Right: 25"> <li>
<A href = "http://www.codefans.net"> reference site content please indicate the source </a>, thank you for your cooperation.
</LI> <li> welcome to source code enthusiasts. We provide high-quality learning source code, e-books, and commonly used tools and software. </LI> </ul> </div>
<Div id = "Mask"> </div>
<Span onclick = "Mask. style. visibility = 'visible '; massage_box.style.visibility = 'visible' "style =" cursor: Hand "> <a href =" # "> click this prompt </a> </span>
<Br> <BR> <br>> <br>
</Body>
</Html>