首页 > 解决方案 > 如何使用悬停弹出窗口和超链接链接特定对象中的图片

问题描述

我想创建这样的网站:https ://www.ukbathroomwarehouse.com/inspiration/scene2

因此,要将图片的特定对象与加号链接,请单击鼠标以生成产品的标题和价格以及超链接。

我做了一些研究,直到现在还没有找到我需要的东西。

我发现了这个,但现在仍然是我所需要的:

<!DOCTYPE html>
<html>
<body>

<h1>The area coords attribute</h1>

<p>Click on the sun or on one of the planets to watch it closer:</p>

<img src="planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap">

<map id="planetmap" name="planetmap">
<area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm">
<area shape="circle" coords="90,58,3" alt="Mercury" href="mercur.htm">
<area shape="circle" coords="124,58,8" alt="Venus" href="venus.htm">
</map>

</body>
</html>

有人可以帮助我吗?

标签: javascriptphphtmlcss

解决方案


推荐阅读