imagemap - How to create image-map in jssor slider
问题描述
How to use image-map on jssor. its not working, the link disappears. I have tried the given code.
<div id="jssor_4" style="position:relative;margin:0 auto;top:0px;left:0px;width:1500px;height:300px;overflow:hidden;visibility:hidden;">
<div data-u="slides" style="cursor:default;position:relative;top:0px;left:0px;width:1500px;height:300px;overflow:hidden;">
<div>
<img data-u="image" src="/images/banner-animasi1.jpg" usemap="#image-map1" style="width:100%" />
</div>
</div>
<!-- Bullet Navigator -->
<div data-u="navigator" class="jssorb108" style="position:absolute;bottom:0px;right:12px;" data-autocenter="1" data-scale="0.5" data-scale-bottom="0.75">
<div data-u="prototype" class="i" style="width:16px;height:16px;">
<svg viewbox="0 0 16000 16000" style="position:absolute;top:0;left:0;width:100%;height:100%;">
<circle class="b" cx="8000" cy="8000" r="5800"></circle>
</svg>
</div>
</div>
</div>
</div>
<map name="image-map1">
<area target="_self" alt="Tentang kami" title="Tentang kami" href="/about" coords="2666,758,3540,922" shape="rect">
</map>
Any suggestion or help will be appreciated. Thanks
解决方案
推荐阅读
- javascript - Material-ui IconButton 边缘属性不起作用
- c - 程序在 c 中的 fgets() 处崩溃
- jquery - 调整窗口大小后重新计算 CSS @keyframes(100vw 和 100vh)
- c# - 加载 XML 文件时出现 System.UnauthorizedAccessException 错误
- flutter - 为什么我的 if-Condition 后面的 return 带有红色下划线?我在正文中引用了堆栈小部件中的 if
- reactjs - 函数没有进入 React / Redux 的调度中
- wordpress - 为什么 WP 编辑器中的按钮组件一直在前端渲染锚标签?
- javascript - Select2 HTML 所需的错误放置问题
- html - Position Sticky 不适用于表格边界属性
- apache-flink - Flink:TypeExtractor 抱怨 protobuf 类,即使为它注册了 ProtobufSerializer