首页 新闻 论坛 群组 Blog 文档 下载 读书 Tag 网摘 搜索 .NET Java 游戏 视频 人才 外包 培训 数据库 书店 程序员
中国软件网
欢迎您:游客 | 登录 注册 帮助
  • HTML里DIV
    进入用户个人空间
    加为好友
    发送私信
    在线聊天
    发表于:2008-05-07 16:20:27 楼主
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
    <title>无标题页 </title>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) {  //reloads the window if Nav4 resized
      if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
        document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
      else if (innerWidth!=document.MM_pgW ¦ ¦ innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);
    //-->
    function o(obj)
    {
    L1.innerText = obj.value;
    L1.style.left = window.event.clientX + 15;
    L1.style.top = window.event.clientY - 15;
    L1.style.display="block";
    }
    function c()
    {
    L1.style.display="none";
    }
    </script>
    <link href="css.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
       
        </div>
        </form>
        <img src="Image/&#37325;&#24198;&#24066;-&#21335;&#24029;&#21306;&#22320;&#22270;.jpg" width="990" height="622" border="0" usemap="#Map" />
        <div id="Layer1" style="position:absolute; width:46px; height:21px; z-index:1; left: 537px; top: 51px;">ND_7B </div>

        <div id="L1" style="position:absolute; width:150px; height:50px; z-index:2; left: 245px; top: 319px; display:none; background-color:#CCCCCC; display:table"> </div>
        <map name="Map" id="Map">
          <area coords="344,8,364,21" href="#" onclick="o(this)" onmouseout="c()" shape="rect"
              value="供气区域:钟楼南街&#13;&#10;调压气型号:&#13;&#10;RTZ-31/25FQ" />
          <area coords="422,48,447,65" href="#" onclick="o(this)" onmouseout="c()" shape="rect"
              value="供气区域:清桥花园&#13;&#10;调压气型号:&#13;&#10;RTZ-31/25FQ:6台" />
          <area shape="rect" coords="524,39,562,57" href="#" />
          <area shape="rect" coords="487,60,509,77" href="#" />
        </map>
    </body>
    </html>
    我怎么能将 <area coords="422,48,447,65" href="#" onclick="o(this)" onmouseout="c()" shape="rect"
              value="供气区域:清桥花园&#13;&#10;调压气型号:&#13;&#10;RTZ-31/25FQ:6台" />
    里的value内容在DIV里像表格布局呢
    20  修改 删除 举报 引用 回复

    网站简介广告服务网站地图帮助联系方式诚聘英才English 问题报告
    世纪乐知(北京)网络技术有限公司 版权所有 京 ICP 证 020026 号
    Copyright © 2000-2007, CSDN.NET, All Rights Reserved