日期:2014-05-16  浏览次数:20454 次

高手救命?类似于3721拖动DIV的层问题?
具体也讲不太清楚,请高手们把下面的HTML例子运行一下就明白了。

index1.html

<!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=gb2312 "   />
<title> MyWeb </title>
<link   href= "Style/MyCss.css "   rel= "stylesheet "   type= "text/css ">
<script   type= "text/javascript "   src= "Script/Function1.js "> </script>
</head>

<body>
<!--header   start-->
<div   id= "header "   class= "HEADER ">
<ul>
<li   onClick= "javascript:location.href= 'BBS/Index.html ' "> 论坛&nbsp;&nbsp; </li>
<li   onClick= "javascript:Default() "> 默认版面&nbsp;|&nbsp; </li>
<li   onClick= "javascript:location.href= 'Search.html ' "> 资源搜索&nbsp;|&nbsp; </li>
<li   onClick= "location.href= 'Register.html ' "> 用户注册&nbsp;|&nbsp; </li>
<li   onClick= "location.href= 'Register.html ' "> 用户登陆&nbsp;|&nbsp; </li>
</ul>
</div>
<!--//header   end-->

<!--body   start-->
<div   id= "body "   class= "BODY ">
<div   id= "left "   class= "LEFT ">
<div   class= "MODULE "   id= "Blog ">
<div   class= "MODULE_TITLE "   id= "Blog_Title "   onMouseDown= "DragStart(event, 'Blog ') ">
<span   class= "TITLE_LEFT "> 热门博客 </span>
<span   class= "TITLE_RIGHT ">
<img   src= "Images/unlock.gif "   width= "13 "   height= "13 "   style= "cursor:pointer; "   id= "Blog_Lock "   title= "锁定 "   onClick= "ck( 'Blog ') ">
<img   src= "Images/max.gif "   width= "13 "   height= "13 "   style= "cursor:pointer; "   id= "Blog_Size "   title= "最小化 "   onClick= "cm( 'Blog ') ">
<img   src= "Images/icon_close.gif "   width= "13 "   height= "13 "   style= "cursor:pointer; "   onClick= "ce( 'Blog ') "> </span> </div>
<div   class= "MODULE_CONTENT "   id= "Blog_Content ">
<ul>
<li> 暴发户辈出的时代,谁的屁股指挥脑袋 </li>
<li> 惊魂82小时!那个捆炸药包的女人 </li>
</ul>
</div>
</div>
<div   class= "MODULE "   id= "Ad ">
<div   class= "MODULE_TITLE "   id= "Ad_Title "   onMouseDown= "DragStart(event, 'Ad ') ">
<span   class= "TITLE_LEFT "> 广告列表 </span>
<span   class= "TITLE_RIGHT ">
<img   src= "Images/unlock.gif " &n