请问<IMG src="../images/index/adduser.gif" width="184" useMap="#Map" border="0">这一句里的useMap="#Map"是什么意思?谢啦!!
解决方案 »
- VS 2010 发布网站目标选项建立问题
- .net WEB开发如何无刷新查询(最好带代码)
- 在服务器上图片可以显示,但在客户机上不能显示,怎么解决呀!
- 求线程的学习资料
- 类似于威客网的任务表结构如何设计的好呢
- |zyciis| 在ASP.NET中如何让一个页面只能接收POST而不能接收GET
- 求教如何使dropdownlist下拉框中的内容选择后自动添加到textbox内
- DataGrid复选框的高亮显示
- TreeView: 如何把我从数据库里提到的数据,分好多层那种.
- HttpRuntime.Cache怎么动不动就失效了?2.0,1.1的时候都不会啊
- 帮忙看看crystal导出到excel的问题
- 一个简单的问题~~在线等待~!
有详细信息
Scripting img.useMap [ = sURL ] Possible ValuessURL String that specifies the URL of the image map. The property is read/write with no default value. Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.ResThe useMap property identifies the image as a client-side image map by associating a MAP object with the image. This MAP object contains AREA objects that define regions within the image. The user can click these regions to navigate to a designated URL.You can dynamically assign the maps to the image through the useMap property.ExampleThis example specifies map1 as the image map underlying image.gif. The map can be changed to another map, map2, by clicking the button.Sample Code<MAP NAME="map1">
<AREA NAME="area1" COORDS="0,0,40,40" HREF="doc1.htm"
TARGET="frame1">
<AREA NAME="area2" COORDS="40,0,80,40" HREF="doc2.htm"
TARGET="frame1">
<AREA NAME="area3" COORDS="10,40,40,80" HREF="doc3.htm"
TARGET="frame1">
<AREA NAME="area4" COORDS="40,40,80,80" HREF="doc4.htm"
TARGET="frame1">
</MAP>
:
<IMG USEMAP="#map1" ID=idImg SRC="image.gif">
:
<BUTTON onclick="idImg.useMap='#map2'">
Change Maps</BUTTON>
映射,这样可以给图片做链接之类的东西.
honglin119(枫叶飘零)给的网址上讲得非常清楚了,加上大家的说明,我已经能明白了我问题的答案了,谢谢大家!还有点舍不得结贴呢!!!