karma(无为)兄,我试了,但没有取出来,我很菜的,请绐个例子好吗? 我只想把area 中的coords 的数值提出来 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 try this:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><TITLE>Image Mapping Sample</TITLE><META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-8859-1"><META NAME="AUTHOR" CONTENT="InetSDK"><META NAME="MS.LOCALE" CONTENT="EN-US"><META NAME="ROBOTS" CONTENT="noindex"><SCRIPT>//<!--//--></SCRIPT><!-- SAMPLE_STYLE_START --><LINK REL="stylesheet" HREF="/workshop/basicSDKIE4.css" TYPE="text/css"><!-- SAMPLE_STYLE_END --></HEAD><!--TOOLBAR_START--><!--TOOLBAR_EXEMPT--><!--TOOLBAR_END--><base href="http://msdn.microsoft.com"><BODY TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF" LINK="#000000" VLINK="#808080" ALINK="#000000"><BLOCKQUOTE CLASS="body"><!-- CONTENTS_START --><!--@ This sample is accessed from /workshop/author/dhtml/reference/objects/map.htm@--><H1>Image Mapping Sample</H1><P>Click on a planet in the image to link to a larger image of that planet.</P><P><IMG SRC="/workshop/graphics/solarsys.gif" WIDTH=504 HEIGHT=126 BORDER=0 ALT="Solar System" USEMAP="#SystemMap"><MAP NAME="SystemMap"><AREA SHAPE="rect" COORDS="0,0,82,126" HREF="/workshop/graphics/sun.gif" alt="sun" onmouseover="window.status=this.coords;"><AREA SHAPE="circle" COORDS="90,58,3" HREF="/workshop/graphics/merglobe.gif" alt="mercury" onmouseover="window.status=this.coords;"><AREA SHAPE="circle" COORDS="124,58,8" HREF="/workshop/graphics/venglobe.gif" alt="venus" onmouseover="window.status=this.coords;"><AREA SHAPE="circle" COORDS="162,58,10" HREF="/workshop/graphics/earglobe.gif" alt="earth" onmouseover="window.status=this.coords;"><AREA SHAPE="circle" COORDS="203,58,8" HREF="/workshop/graphics/marglobe.gif" alt="mars" onmouseover="window.status=this.coords;"><AREA SHAPE="poly" COORDS="221,34,238,37,257,32,278,44,284,60,281,75,288,91,267,87,253,89,237,81,229,64,228,54" HREF="/workshop/graphics/jupglobe.gif" alt="jupiter" onmouseover="window.status=this.coords;"><AREA SHAPE="poly" COORDS="288,19,316,39,330,37,348,47,351,66,349,74,367,105,337,85,324,85,307,77,303,60,307,50" HREF="/workshop/graphics/satglobe.gif" alt="saturn" onmouseover="window.status=this.coords;"><AREA SHAPE="poly" COORDS="405,39,408,50,411,57,410,71,404,78,393,80,383,86,381,75,376,69,376,56,380,48,393,44" HREF="/workshop/graphics/uraglobe.gif" alt="uranus" onmouseover="window.status=this.coords;"><AREA SHAPE="poly" COORDS="445,38,434,49,431,53,427,62,430,72,435,77,445,92,456,77,463,72,463,62,462,53,455,47" HREF="/workshop/graphics/nepglobe.gif" alt="neptune" onmouseover="window.status=this.coords;"><AREA SHAPE="circle" COORDS="479,66,3" HREF="/workshop/graphics/pluglobe.gif" alt="pluto" onmouseover="window.status=this.coords;"></MAP><CENTER><HR><P>Right-click outside of the image to view the source code.</CENTER><!-- CONTENTS_END --><!-- START_PAGE_FOOTER --><BR><BR><BR>© <A CLASS="clsIncCpyRt" HREF="/isapi/gomscom.asp?target=/misc/cpyright.htm" TARGET="_top">Microsoft Corporation. All rights reserved. Terms of use</A>.<!-- END_PAGE_FOOTER --></BLOCKQUOTE></BODY></HTML> sorry, I do not use OICQ 我把<MAP NAME="systemmap"><area name="aaa"...但是我不能用 var imagesi = document.systemmap.aaa.coords;document.writeln("imagesi");但是出错!谢谢你 use <area id="aaa" ....>anddocument.all("aaa").coords 关于 history.go()的异常捕获问题 一个小问题!! iframe跨域自适应高度 怎么触发这个事件????????????在线等, 请教一个图片刷新问题 表单对象不支持submit属性,但是reset属性支持,为什么? 请教如何在一个表格中点击其中一行,使这行加亮? 今天又写了点东西。。以后做登陆就可以用这个了。 行行好,帮一下。关于javascript中showModalDialog的小问题 为什么这里的jquery方法没有生效呢? 怎样制作鼠标移到超链接后显示提示,请给出具体做法 js的下拉菜单
<HTML>
<HEAD>
<TITLE>Image Mapping Sample</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-8859-1">
<META NAME="AUTHOR" CONTENT="InetSDK">
<META NAME="MS.LOCALE" CONTENT="EN-US">
<META NAME="ROBOTS" CONTENT="noindex"><SCRIPT>
//<!--//-->
</SCRIPT><!-- SAMPLE_STYLE_START -->
<LINK REL="stylesheet" HREF="/workshop/basicSDKIE4.css" TYPE="text/css">
<!-- SAMPLE_STYLE_END -->
</HEAD>
<!--TOOLBAR_START-->
<!--TOOLBAR_EXEMPT-->
<!--TOOLBAR_END-->
<base href="http://msdn.microsoft.com">
<BODY TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF"
LINK="#000000" VLINK="#808080" ALINK="#000000">
<BLOCKQUOTE CLASS="body">
<!-- CONTENTS_START -->
<!--@ This sample is accessed from /workshop/author/dhtml/reference/objects/map.htm@-->
<H1>Image Mapping Sample</H1>
<P>Click on a planet in the image to link to a larger image of that planet.</P><P><IMG SRC="/workshop/graphics/solarsys.gif" WIDTH=504 HEIGHT=126 BORDER=0 ALT="Solar System" USEMAP="#SystemMap"><MAP NAME="SystemMap">
<AREA SHAPE="rect" COORDS="0,0,82,126" HREF="/workshop/graphics/sun.gif" alt="sun" onmouseover="window.status=this.coords;">
<AREA SHAPE="circle" COORDS="90,58,3" HREF="/workshop/graphics/merglobe.gif" alt="mercury" onmouseover="window.status=this.coords;">
<AREA SHAPE="circle" COORDS="124,58,8" HREF="/workshop/graphics/venglobe.gif" alt="venus" onmouseover="window.status=this.coords;">
<AREA SHAPE="circle" COORDS="162,58,10" HREF="/workshop/graphics/earglobe.gif" alt="earth" onmouseover="window.status=this.coords;">
<AREA SHAPE="circle" COORDS="203,58,8" HREF="/workshop/graphics/marglobe.gif" alt="mars" onmouseover="window.status=this.coords;">
<AREA SHAPE="poly" COORDS="221,34,238,37,257,32,278,44,284,60,281,75,288,91,267,87,253,89,237,81,229,64,228,54" HREF="/workshop/graphics/jupglobe.gif" alt="jupiter" onmouseover="window.status=this.coords;">
<AREA SHAPE="poly" COORDS="288,19,316,39,330,37,348,47,351,66,349,74,367,105,337,85,324,85,307,77,303,60,307,50" HREF="/workshop/graphics/satglobe.gif" alt="saturn" onmouseover="window.status=this.coords;">
<AREA SHAPE="poly" COORDS="405,39,408,50,411,57,410,71,404,78,393,80,383,86,381,75,376,69,376,56,380,48,393,44" HREF="/workshop/graphics/uraglobe.gif" alt="uranus" onmouseover="window.status=this.coords;">
<AREA SHAPE="poly" COORDS="445,38,434,49,431,53,427,62,430,72,435,77,445,92,456,77,463,72,463,62,462,53,455,47" HREF="/workshop/graphics/nepglobe.gif" alt="neptune" onmouseover="window.status=this.coords;">
<AREA SHAPE="circle" COORDS="479,66,3" HREF="/workshop/graphics/pluglobe.gif" alt="pluto" onmouseover="window.status=this.coords;">
</MAP><CENTER>
<HR>
<P>Right-click outside of the image to view the source code.
</CENTER>
<!-- CONTENTS_END --><!-- START_PAGE_FOOTER -->
<BR><BR><BR>
© <A CLASS="clsIncCpyRt" HREF="/isapi/gomscom.asp?target=/misc/cpyright.htm" TARGET="_top">Microsoft Corporation. All rights reserved. Terms of use</A>.
<!-- END_PAGE_FOOTER -->
</BLOCKQUOTE>
</BODY>
</HTML>
但是我不能用 var imagesi = document.systemmap.aaa.coords;
document.writeln("imagesi");
但是出错!谢谢你
and
document.all("aaa").coords