0

http://rants-group.com/のページは、IE ではなく Firefox で正常に動作します。誰でもソースを見て問題を見つけることができますか?

私はこれをまったく正しく理解できません!

この時点で、私はそれをいじりすぎたと思います。どうすればよいかわかりません!

ムービーを表示するコードは次のようになります。

  <div id="mainhome">
<table width="700" height="309" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="350" valign="top" background=""><img src="/images/bckgrnd3.jpg" width="350" height="309" /></td>
    <td width="350" align="right" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="350" height="309" id="myFlashContent">
        <param name="movie" value="flash/flashslide.swf?src=flash-here.com&imglist_fn=flash/getimglist.txt&img_path=flash/slides&interval=5000&w=350&h=309" />
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="flash/flashslide.swf?src=flash-here.com&imglist_fn=flash/getimglist.txt&img_path=flash/slides&interval=5000&w=350&h=309" width="350" height="309">
          <!--<![endif]-->
          <a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /> </a>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    </td>
  </tr>
</table>

4

4 に答える 4

2

Flash ムービーを埋め込む最も簡単な方法は、次のようなライブラリswfobject を使用することです。使用方法は 2 つあります。

  • JavaScript を使用した動的ロード
  • 静的読み込みは html のみを使用します

また、すべてのブラウザーで動作する HTML コードを生成してページにムービーを埋め込む、非常に使いやすいコンフィギュレーターもあります。

あなたの場合、次のようになります。

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="350" height="309" id="myFlashContent">
                <param name="movie" value="flash/flashslide.swf?src=flash-here.com&imglist_fn=flash/getimglist.txt&img_path=flash/slides&interval=5000&w=350&h=309" />
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="flash/flashslide.swf?src=flash-here.com&imglist_fn=flash/getimglist.txt&img_path=flash/slides&interval=5000&w=350&h=309" width="350" height="309">
                <!--<![endif]-->
                    <a href="http://www.adobe.com/go/getflashplayer">
                        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                    </a>
                <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
于 2009-04-09T17:18:59.393 に答える
0

クロスブラウザーの相互運用性には、 Satayメソッドを使用します。

于 2009-04-10T15:59:27.937 に答える
0

If you're using Flash 8 and above, try enabling HTML as a publish output in the Publish Settings.

Take a look at the generated .html file. Remember to link in the external javascript file as well.

Another way would be to use swfobject. Which I prefer to Adobe's method.

There is no need for and such tags.

于 2009-04-14T11:55:47.600 に答える
0

これらの IE 条件付きコメントは壊れています。

<!--[if !IE]>
  The content in here should ACTUALLY be part of the HTML comment.
  Thus the "double-dash" doesn't re-occur until the very last part
  of the closing tag.
<![endif]-->

ただし、他のブラウザーは IE の条件付きコメントをサポートしていないため、"!IE" 構文は実際には何も得られないことに注意してください。

条件付きコメントで IE に送信したい HTML コンテンツをラップすることをお勧めします。例えば

<!--[if IE]>
  This <b>HTML</b> will only appear in Internet Explorer.
  of the closing tag.
<![endif]-->
于 2009-04-09T18:19:43.680 に答える