jQTouch - 它支持图像映射吗?

发布于 2024-09-11 05:03:33 字数 481 浏览 2 评论 0原文

我正在努力创建一个 jQTouch 原型,并希望使用图像映射,例如:

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

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

出于某种原因,这似乎不适用于 JQTOUCH - 有人有这方面的经验吗?

I'm working to create a jQTouch prototype and would like to use Image Maps, example:

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

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

For some reason this doesn't seem to be working in JQTOUCH - Anyone have any experience with this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

So尛奶瓶 2024-09-18 05:03:33

使用 target="_webapp" 属性,它应该可以工作......

所以:

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

Use the target="_webapp" attribute, and it should work...

So:

<map name="planetmap">
  <area target="_webapp" shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun" />
  <area target="_webapp" shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury" />
  <area target="_webapp" shape="circle" coords="124,58,8" href="venus.htm" alt="Venus" />
</map>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文