To close a draggable layer window code

Source: Internet
Author: User

<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
<title> Untitled Document </title>
<script language=javascript>
<!--
function JM_CC (ob) {
var obj=mm_findobj (OB); if (obj) {
Obj.select (); Js=obj.createtextrange (); Js.execcommand ("Copy");}
}

function Mm_findobj (n, D) {//v4.0
var p,i,x; if (!d) d=document; if ((P=n.indexof ("?")) >0&&parent.frames.length) {
D=parent.frames[n.substring (p+1)].document; N=n.substring (0,p);}
if (! ( X=d[n]) &&d.all) x=d.all[n]; for (i=0;! x&&i<d.forms.length;i++) X=d.forms[i][n];
for (i=0;! x&&d.layers&&i<d.layers.length;i++) X=mm_findobj (n,d.layers[i].document);
if (!x && document.getElementById) X=document.getelementbyid (n); return x;
}
-
</SCRIPT>

<SCRIPT>
var over=false,down=false,divleft,divtop,n;
function Clase (x) {document.all[' plane ' +x].style.visibility= ' hidden '}
function Down1 (m) {
N=m;down=true;divleft=event.clientx-parseint (M.style.left);d ivtop=event.clienty-parseint (M.style.top)}
function Move () {if (down) {n.style.left=event.clientx-divleft;n.style.top=event.clienty-divtop;}} </SCRIPT>

<meta content= "MSHTML 5.00.2920.0" name=generator><body bgcolor= #000000 onmousemove=move () onmouseup=down=false>
<div class= "AA" Id=plane1 onmousedown=down1 (This)
Style= "Cursor:move; height:102px; left:6px; Position:absolute; top:27px; width:131px; Z-index:1 ">
<table bgcolor= #000000 border=0 cellpadding=0 cellspacing=0 height=100
Width=130>
<TBODY>
<TR>
&LT;TD bgcolor= #ffffff height=18 width=131>
<div align=right><font color= #666666 Face=verdana size=2><a
href= "#"
Onclick=clase (1) >Src= "Http://www.lanrentuku.com/down/js/images/12493942650.gif"
Width=9></a> </FONT></DIV></TD></TR>
<TR>
&LT;TD align=middle bgcolor= #a02058 valign=top width=131>
<p><font color= #666666 Face=verdana size=2><br> </FONT></P></TD></TR> </TBODY></TABLE></DIV>
<div class= "AA" Id=plane2 onmousedown=down1 (This)
Style= "Cursor:move; height:100px; left:6px; Position:absolute; top:139px; width:131px; Z-index:2 ">
<table bgcolor= #000000 border=0 cellpadding=0 cellspacing=0 height=100
Width=130>
<TBODY>
<TR>
&LT;TD bgcolor= #ffffff height=18 width=130>
<div align=right><font color= #666666 Face=verdana size=2><a
href= "#"
Onclick=clase (2) >Src= "Http://www.lanrentuku.com/down/js/images/12493942650.gif"
Width=9></a> </FONT></DIV></TD></TR>
<TR>
&LT;TD align=middle bgcolor= #a02058 valign=top width=130>
<p><font color= #666666 Face=verdana size=2><br> </FONT></P></TD></TR> </TBODY></TABLE></DIV>
<div class= "AA" Id=plane3 onmousedown=down1 (This)
Style= "Cursor:move; height:101px; left:6px; Position:absolute; top:248px; width:131px; Z-index:2 ">
<table bgcolor= #000000 border=0 cellpadding=0 cellspacing=0 height=100
Width=130>
<TBODY>
<TR>
&LT;TD bgcolor= #ffffff height=18 width=130>
<div align=right><font color= #666666 Face=verdana size=2><a
href= "#"
Onclick=clase (3) >Src= "Http://www.lanrentuku.com/down/js/images/12493942650.gif"
Width=9></a> </FONT></DIV></TD></TR>
<TR>
&LT;TD align=middle bgcolor= #a02058 valign=top width=130>
<p><font color= #666666 Face=verdana size=2><br>
</FONT></P>
<P></P></TD></TR></TBODY></TABLE></DIV>
<p> Find more code, visit: <a href= "http://www.lanrentuku.com" target= "_blank" > Lazy people Gallery </a></p>
</BODY></HTML>

To close a draggable layer window code

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.