这是我的代码:
<area shape="design-principles" coords="598,385,695,455" rel="lightbox" href="http://www.google.com" target="frame1"/>
<iframe name="frame1" Width="500px" Height="100px" style="overflow:hidden;">
<p> Browser does not support iframes </p>
</iframe>
我有一张图片,我的目标onClick
是图片的特定位置(因此使用了<area>
标签)。
问题是,http://www.google.com没有在iframe
.
另外,我想iframe
“走开”onMouseOut