简体   繁体   English

链接图像的确切“边框”

[英]link image on the exact “borders” of the image

I have this problem with linked images. 我有链接图像的这个问题。 I would like to know if someone has a solution for my problem. 我想知道是否有人能解决我的问题。 I created several images and placed them in the correct order of the picture. 我创建了几个图像,并按照图片的正确顺序放置它们。 I link ed the image to a pop-up box so there should pop-up a resume. 我将图像链接到一个弹出框,这样就应该弹出一个简历。

The problem is that the images are overlapping so not al the images are clickable. 问题是图像是重叠的,因此图像不是可点击的。 Is there a way to create a link that is following the exact "borders" of the image? 有没有办法创建一个跟随图像的确切“边界”的链接?

To see what I mean: http://oege.ie.hva.nl/~gruijsl001/equityestate/team.html . 看看我的意思: http//oege.ie.hva.nl/~gruijsl001/equityestate/team.html

将单独的图像组合成单个文件并使用图像映射

-use image mapping concept. - 使用图像映射概念。

<map name="mymap">
<area shape="rectangle" coords="39,31,166,109" href="abc.html">
<area shape="rectangle" coords="188,4,230,126" href="cdf.html">
</map>

-map the image according to requirements, and use the ismap or usemap attribute of img tag. - 根据需要映射图像,并使用img标签的ismap或usemap属性。

try something like this 尝试这样的事情

combine the separate images into a single file and use Area tag http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_areamap 将单独的图像合并为一个文件并使用区域标记http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_areamap

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM