<div class="map_r" id="mapinfo" style="position: absolute; top: 20px; left: 500px;
display: block;">
<div class="title_4">
站点预报与实况值</div>
<div class="list_map">
<ul>
<li>站点预报:<br />
<span id="liveclock">
<script language="javascript">
function displaytime() {
thisdate = new Date()
thismonth = thisdate.getMonth()
thismonth = thismonth +
thisday = thisdate.getDate()
thisyear = thisdate.getYear()
thisweek = thisdate.getDay(); switch (thisweek) {
case : thisweek = "星期日"; break; case : thisweek = "星期一"; break; case : thisweek = "星期二"; break; case : thisweek = "星期三"; break; case : thisweek = "星期四"; break; case : thisweek = "星期五"; break; case : thisweek = "星期六"; break;
}
if (thisyear < )
{ thisyear = thisyear + }
document.getElementById("liveclock").innerHTML = thismonth + "月" + thisday + "日";
}
displaytime(); setInterval('displaytime()', ); </script> </span>&nbsp;阴有阵雨或<br />
雷雨转阴到 多云 -℃<br />
</li>
<li>
<p>
站点实况:</p>
<p>
<img src="../html/new_cmqx/images/pic_11.png" width="" height="" align="left" />2分钟平均风向:<span id="winddirection" runat="server"></span><br />
2分钟平均风速:<span id="windspeed" runat="server"></span></p>
</li>
<li>
<img src="../html/new_cmqx/images/pic_14.png" width="" height="" align="left" />
气温:<span id="Temperature" runat="server"></span><br />
</li>
<li>
<img src="../html/new_cmqx/images/pic_16.png" width="" height="" align="left" />小时雨量:<span id="Rain_sum" runat="server"></span></li>
</ul>
</div>
</div>
<img src="../html/new_cmqx/images/map_11.png" width="" height="" id="map" border="" usemap="#Map" />
<map name="Map" id="Map">
<area shape="rect" coords="98,32,114,48" onmousemove="showDetail(event)" onmouseout="hide();" />
<area shape="rect" coords="41,48,59,66" onmousemove="showDetail(event)" onmouseout="hide();" />
<area shape="rect" coords="26,83,46,103" onmousemove="showDetail(event)" onmouseout="hide();" />
<area shape="rect" coords="213,148,232,167" onmousemove="showDetail(event)" onmouseout="hide();" />
<area shape="rect" coords="248,159,267,178" onmousemove="showDetail(event)" onmouseout="hide();" />
<area shape="rect" coords="185,165,205,185" onmousemove="showDetail(event)" onmouseout="hide();" />
<area shape="rect" coords="157,180,175,198" onmousemove="showDetail(event)" onmouseout="hide();" />
<area shape="rect" coords="191,197,211,217" onmousemove="showDetail(event)" onmouseout="hide();" />
<area shape="rect" coords="371,192,393,214" onmousemove="showDetail(event)" onmouseout="hide();" />
<area shape="rect" coords="408,251,427,270" onmousemove="showDetail(event)" onmouseout="hide();" />
<area shape="rect" coords="363,272,384,293" onmousemove="showDetail(event)" onmouseout="hide();" />
<area shape="rect" coords="291,319,312,340" onmousemove="showDetail(event)" onmouseout="hide();" />
<area shape="rect" coords="395,374,417,396" onmousemove="showDetail(event)" onmouseout="hide();" />
</map>

前台设计

.map{ margin-top:10px; position:relative; background:#77d4ff;}
.map_r{ width:236px; height:384px; position:absolute; right:21px; top:14px; background:url(../images/bg_03.png)}
.title_4{ color:#439af3; text-align:center; line-height:30px; padding-top:35px; font-size:14px;}.list_map{ line-height:22px;}
.list_map li{ background:url(../images/list_03.png) no-repeat top; padding:7px 25px 5px; clear:both; }
.list_map li img{ margin-right:10px;}

CSS

根据图中的盲点坐标,弹出div层的更多相关文章

  1. js弹出div层,弹出层页面底部出现UL出现一条线问题

    整个弹出div层,列表满一页时:底部会出现一条横线 原因:ul固定写在页面中了 解决方法: 将ul代码与li列表一样写在js中,如下 var newhtml = '<ul class=" ...

  2. js弹出div层内容(按回退键关闭div层及遮罩)

    <!--弹出的div列表对应的详情--> <div id="newhtml" class="white_content"> <di ...

  3. 【JS新手教程】浏览器弹出div层1

    JS中,可以弹出一个层来进行提示等作用,方法是利用css样式display样式,当display等于none时,该元素就不会在页面显示出来,而且元素也不会占空间.就是用户触发某些事件时,动态修改该样式 ...

  4. js点击弹出div层

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...

  5. jQuery 弹出div层

    目的:使用jQuery弹出一个div窗口:这种效果经常应用于页面内容的展示,登录效果的实现.其实,实现这种效果有好多种方式: 效果如下: 代码如下: <html> <head> ...

  6. 工作当中实际运用(3)——js原生实现鼠标点击弹出div层 在点击隐藏

    function onmou(){ var divs=document.getElementById('kefuDV');//获取到你要操作的div if (divs.style.display==& ...

  7. 基于jquery ui修改的不依赖第三方的背景透明的弹出div

    效果图: 代码: <!doctype html> <html> <head> <meta charset="utf-8"> < ...

  8. 【JS新手教程】弹出两层div,及在LODOP内嵌上层

    前面的博文有个简单的弹出div层[JS新手教程]浏览器弹出div层1,有一层,不过为了提示,一般会不让用户可以点击该提示之外的地方的.如果让用户弹出层后,把其他的按钮和链接都设置不可用应该比较麻烦,如 ...

  9. JavaScript中的三种弹出对话框

    学习过js的小伙伴会发现,我们在一些实例中用到了alert()方法.prompt()方法.prompt()方法,他们都是在屏幕上弹出一个对话框,并且在上面显示括号内的内容,使用这种方法使得页面的交互性 ...

随机推荐

  1. 访问腾讯云主机mysql的设置问题

    ---恢复内容开始--- 1.需要打开腾讯云主机的防火墙端口3306,具体实现可以在腾讯云控制台安全组中设置开放全部端口(安全组对应入站.出战规则): 2.将云主机mysql中mysql数据库user ...

  2. TreeSet类的排序

    TreeSet支持两种排序方法:自然排序和定制排序.TreeSet默认采用自然排序. 1.自然排序 TreeSet会调用集合元素的compareTo(Object obj)方法来比较元素之间大小关系, ...

  3. IDEA:No SLF4J providers were found.

    如果您是用IDEA 的 maven 写的 将slf4j的导入包 更改 为下列代码 <dependency> <groupId>org.slf4j</groupId> ...

  4. JAVA从零学习 第一天 邮箱ych1102@163.com QQ382993199

    学习编程  听说读写 寻寻渐进   要准备好长期蒙蒙的状态  延迟3个月后明白 机器语言 二级制 1010  1100 0011 汇编语言 助记词表达程序   机器如果执行就需要编译  汇编语言移植性 ...

  5. 【iOS】Your account already has a valid ios

    打包内测的时候遇到了这个问题,如图所示: 官网解决办法: If the certificate already exists in Member Center, a “Your account alr ...

  6. .NET Core on K8S学习实践系列文章索引(Draft版)

    一.关于这个系列 自从去年(2018年)底离开工作了3年的M公司加入X公司之后,开始了ASP.NET Core的实践,包括微服务架构与容器化等等.我们的实践是渐进的,当我们的微服务数量到了一定值时,发 ...

  7. 对Rust所有权、借用及生命周期的理解

    Rust的内存管理中涉及所有权.借用与生命周期这三个概念,下面是个人的一点粗浅理解. 一.从内存安全的角度理解Rust中的所有权.借用.生命周期 要理解这三个概念,你首要想的是这么做的出发点是什么-- ...

  8. powershell小脚本--批量添加用户属性----导出登录时间

    需求1:某公司所有员工少了MAIL属性,需要批量添加.例如,用户chenyy  添加邮件属性chenyy@xxxx.com 先导出(只导出名字)备用: Get-ADUser -Filter * -Pr ...

  9. 爬虫环境搭建及 scrapy 启动

    创建虚拟环境 C:\Users\Toling>mkvirtualenv article 这个是普通的创建虚拟环境,但是实际开发中可能会使用python2或python3所以我们需要指定开发的环境 ...

  10. 第四章 文件的基本管理和XFS文件系统备份恢复 随堂笔记

    第四章 文件的基本管理和XFS文件系统备份恢复 本节所讲内容: 4.1 Linux系统目录结构和相对/绝对路径. 4.2 创建/复制/删除文件,rm -rf / 意外事故 4.3 查看文件内容的命令 ...