1) 我正在尝试将一个透明的图片放在嵌入对象上方。但是我似乎缺少了位置,相对和绝对定位的某些设置。但是具体是哪里呢?
我实际上要放置透明图片是因为无法对对象嵌入使用cursor:pointer
。所以我的想法是放置一个透明图片并使用cursor:pointer
。
2) 为什么onclick
在IE中无效?它在Firefox和Chrome中都能正常工作。
<div id="divmarquee" runat="server" >
<img id="imgtrans" runat="server" src= "/images/480x75-blank-transparent" title="Click Here" style="position:relative" />
<object width="475px" height="75px" onclick="window.location='http://www.google.com'; return false;">
<embed src="merchant_images/The_Marquee_Dealn.swf" type="application/x-shockwave-flash" style="z-index: 0; cursor:pointer" wmode="transparent" width="475px" height="75px">
</embed>
</object>
</div>
提前感谢您!