我有一個帶有嵌入式.SWF文件和音頻控件的介紹頁面(我知道,他們不推薦,但客戶喜歡這個主意!)。我以圖形方式(在Illustrator中)不使用Adobe Flash創建.SWF。我能夠找到代碼來使.SWF成爲一個超鏈接,它可以工作,但客戶端真的希望光標顯示一個手形/指針,所以它是一個明顯的超鏈接,可以進入他們的網站。我的超鏈接可以正常工作,但光標不會變成指針
我已經嘗試了各種CSS,如:
* {cursor: pointer; }
body {cursor: pointer, auto; }
link {cursor: pointer }
a:hover {cursor: pointer }
但所有這些似乎工作!鼠標將成爲頁面其餘部分的指針,但當您位於.SWF對象上時不會。這裏是我的HTML:
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" bgcolor="#000000">
<audio controls autoplay>
<source src="BasketballBeats.ogg" type="audio/ogg">
<source src="BasketballBeats.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<object type="application/x-shockwave-flash" width="1440" height="700" onmouseup="document.location='http://www.clientsite.com/welcome'">
<param name="wmode" value="transparent" />
<param name="movie" value="http://www.clientsite.com/TBS-Enter-Site-Intro.swf" />
</object>
</body>
我用我測試的第一個CSS還上傳頁面的樣本,所以你可以看到光標變成上方和下方的對象但不超過它! http://tentendesignstudio.com/staging/test/intro30有人可以告訴我一種方法來讓這個工作?提前致謝!
'cursor:pointer;'not'cursor;指針;' – mdesdev
你爲什麼不在SWF內創建鏈接? – pablopixel
編輯我的OP,以糾正我的CSS示例代碼中的錯別字。 pablopixel,我使用Adobe Illustrator中的圖層製作.SWF並從那裏導出,因爲我沒有Flash或.FLA來編輯和創建鏈接。 –