求全码——鼠标移到图片某热点。。 我是菜鸟,请教一下我是用Dreamweaver实现“当鼠标移到一地图某个热点时,显示一表格信息,鼠标移走,表格隐藏”,能帮我吗,急要全码谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <!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" xml:lang="zh-CN" lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>热区显示层</title></head><body><div id=picdiv style="width:300px;height:300px;border:0px red solid;font-size:0px;float:left"> <map name="FPMap0"> <area href="###" shape="rect" coords="100, 100, 200, 200" onmouseover="showTAB(this)"onmouseout="hidTAB()"> </map> <img id=pic_a src="images/1.jpg" style="width:300px;height:300px;" usemap="#FPMap0" border=0></div><div id=MYTAB_con style="display:none;width:100px;height:100px;border:0px blue solid;font-size:0px;"><table border="1" width="100" id=MYTAB> <tr> <td height=20> </td> <td> </td> </tr> <tr> <td height=20> </td> <td> </td> </tr></table></div><br style="clear:both"><script language="javascript"><!--function getPosition(theElement){ var positionX =0; var positionY =0; while (theElement !=null){ positionX +=theElement.offsetLeft; positionY +=theElement.offsetTop; theElement =theElement.offsetParent; } return [positionX,positionY];}function showTAB(_this){ var p=getPosition(document.getElementById("picdiv")) var t=_this.coords.split(",") with(document.getElementById("MYTAB_con").style){ position="absolute" top=p[1]+parseInt(t[1])+"px" left=p[0]+parseInt(t[0])+100+"px" display="" }}function hidTAB(){ document.getElementById("MYTAB_con").style.display="none"}//--></script></body></html> 求助!日期2012-07-23 转换为2012年07月23日 Ext 布局 在IE7.0下面JS代码不运行 ,帮忙改写 javascript初学者,进入 浏览器问题 如何写成正则表达式? 一段js代码,是实现一个动态菜单的。MF和IE都会报错。 JS中二维数组的赋值 如何在页面中判断用户是否通过点BACK按钮跑到这个页面中的?(100分求答案) 图片已经在浏览器中打开怎么实现 不二次请求远程图片将其下载本地 js相关问题 关于使用htmlfile对象长连接的问题
<!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" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>热区显示层</title>
</head>
<body>
<div id=picdiv style="width:300px;height:300px;border:0px red solid;font-size:0px;float:left">
<map name="FPMap0">
<area href="###" shape="rect" coords="100, 100, 200, 200" onmouseover="showTAB(this)"onmouseout="hidTAB()">
</map>
<img id=pic_a src="images/1.jpg" style="width:300px;height:300px;" usemap="#FPMap0" border=0>
</div>
<div id=MYTAB_con style="display:none;width:100px;height:100px;border:0px blue solid;font-size:0px;">
<table border="1" width="100" id=MYTAB>
<tr>
<td height=20> </td>
<td> </td>
</tr>
<tr>
<td height=20> </td>
<td> </td>
</tr>
</table>
</div><br style="clear:both"><script language="javascript">
<!--
function getPosition(theElement){
var positionX =0;
var positionY =0;
while (theElement !=null){
positionX +=theElement.offsetLeft;
positionY +=theElement.offsetTop;
theElement =theElement.offsetParent;
}
return [positionX,positionY];
}function showTAB(_this){
var p=getPosition(document.getElementById("picdiv"))
var t=_this.coords.split(",")
with(document.getElementById("MYTAB_con").style){
position="absolute"
top=p[1]+parseInt(t[1])+"px"
left=p[0]+parseInt(t[0])+100+"px"
display=""
}
}function hidTAB(){
document.getElementById("MYTAB_con").style.display="none"
}
//-->
</script></body>
</html>