MozTW 討論區 https://forum.moztw.org/ |
|
請各位高手幫幫忙~~ https://forum.moztw.org/viewtopic.php?f=2&t=6784 |
第 1 頁 (共 1 頁) |
發表人: | Tryer [ 2005-02-28, 01:17 ] |
文章主題 : | 請各位高手幫幫忙~~ |
這是我的網頁, 剛建的so 還沒什麼東東^^" http://www.freewebtown.com/larry/ 但問題是... 我用IE是沒問題的, 有背景音樂,可是用心愛的Firefox 看卻沒有了-_-" 還有, 第二頁的透明iframe 在Firefox 看是沒問題的, 是透明的; 但又輪到IE 看有問題了, 不是透明的-_-" 希望各位大大能幫下我, 以下是一些原始檔設置: <html> <head> <SCRIPT Language="JavaScript"> var tips = new Array(5) tips[0] = "_private/midi/Laputa - Castle in the Sky" tips[1] = "_private/midi/Princess Mononoke.mid" tips[2] = "_private/midi/Spirited Away - Name.mid" tips[3] = "_private/midi/Spirited Away - Pursue.mid" tips[4] = "_private/midi/Voyage.mid" var muc = new Date() var getmuc = muc.getSeconds()%tips.length document.write('<bgsound src="'+tips[getmuc]+'"loop=-1>') </SCRIPT> </head> 第二頁的是: <body> <p><iframe name="更新資訊" frameborder="0" framespacing="0" width="350" height="400" scrolling="auto" src="content.htm" allowtransparency="true"> </body> |
發表人: | nakeho [ 2005-02-28, 08:58 ] |
文章主題 : | |
1. <bgsoung> 是 IE 獨有的,不符合 Html 4.01 規格書的規範,所以 FF 不支援。 2. 我在 W3C 查不到 allowtransparency 這個 Attribute,所以大概也只是被某些瀏覽器支援吧。 |
發表人: | 風痕影 [ 2005-02-28, 13:51 ] |
文章主題 : | |
其實IE也支援allowtransparency,但是必須把Iframe裡所嵌入的網頁背景設為透明(background-color:transparent;) |
發表人: | Tryer [ 2005-02-28, 19:17 ] |
文章主題 : | |
非常感兩位大大的幫忙,深表感謝.... 但在第一個問題裡,請問有沒有一個編寫方法能符合 Html 規格, 可以達到類似效果...? |
發表人: | 風痕影 [ 2005-03-03, 07:50 ] |
文章主題 : | |
您可以參考下面這個網頁上的說明 ![]() 網頁內嵌多媒體檔案 |
發表人: | Tryer [ 2005-03-04, 22:04 ] |
文章主題 : | |
感激T_T:..... |
第 1 頁 (共 1 頁) | 所有顯示的時間為 UTC + 8 小時 |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |