javascript - 如何使用悬停弹出窗口和超链接链接特定对象中的图片
问题描述
我想创建这样的网站: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>
有人可以帮助我吗?
解决方案
推荐阅读
- r - 更改列的数字元素的值
- rust - 此错误消息是否意味着我可以在 for 循环中使用模式匹配?
- matlab - Matlab 3dplot函数绘制正弦变化频率和时间的幅度
- python - Matplotlib subplot2grid 无法正常工作
- ldap - 引起:org.springframework.ldap.AuthenticationException:[LDAP:错误代码 49 - 80090308:
- php - Laravel 验证或
- java - 通过套接字将 JTable 数据从服务器发送到客户端 JTable
- drupal-modules - hook_mail() 的“from”参数在 Drupal 8 中不起作用?
- docker - dockerd 为所有容器设置默认环境变量
- laravel-5 - 无法从 Vue.js 中的单个文件组件导入 Mixin