Palm/HP webOS 3.0 / Enyo 框架支持图像映射吗?
Palm/HP WebOS 3.o / Enyo 框架是否支持图像映射?
我有一个包含“图像映射”的 HtmlContent 控件——使用 HTML“usemap”属性将链接嵌入到热点中的图像。然而,我的这些链接似乎并不活跃,我无法点击它们。 (在常规浏览器中打开同一页面时,我可以单击,但当该 HTML 内容位于 HtmlContent 控件中时,链接似乎消失了)。
有什么想法吗?
另外,我确实检查了单击事件没有被触发——HtmlContent 控件的单击处理程序没有被触发。当整个图像有一个 href 时,这种情况就不会发生——在这种情况下一切正常。但是,如果图像具有与其关联的地图,则链接不处于活动状态,并且单击链接区域似乎不会触发单击事件。
Does Palm/HP WebOS 3.o / Enyo framework support image maps??
I have an HtmlContent control that contains "image maps" -- an image with links embedded in hot spots using the HTML "usemap" attribute. However my those links don't seem to be active, and I cannot click on them. (The same page when opened in a regular browser allows me to click, but when that HTML content is in an HtmlContent control, the links seem to have disappeared).
Any ideas?
Also i did check that the click events are not being fired -- the click handler for the HtmlContent control does not fire. This does not happen when the entire image has an href -- in that case things work fine. But if the image has a map associated with it, then the links are not active, and clicking on the link regions does not seem to fire click events.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
需要支持图像映射的不是 Enyo,而是较低级别的 WebKit 系统。目前,webOS 应该可以处理矩形图像贴图,但多边形贴图没有得到正确处理。
It's not Enyo that needs to support imagemaps, but the lower level WebKit system. Right now, webOS should handle rectangular image maps, but polygon maps weren't being handled correctly.