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>
在此先感謝!
一個更尖銳的問題是「我如何得到光標:指針嵌入對象的」 – 2011-05-16 15:33:06
就像你說的:)謝謝! – Remo 2011-05-16 15:39:53