Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   Общие вопросы о Flash (не затрагивающие ActionScript) (http://www.flasher.ru/forum/forumdisplay.php?f=60)
-   -   два flash-ролика на html-странице (http://www.flasher.ru/forum/showthread.php?t=101987)

inMashine 06.10.2007 21:24

два flash-ролика на html-странице
 
Как вставить 2 flash-ролика в разные ячейки таблицы?
Подскажите плз.

DarkLight 06.10.2007 21:44

в кажду. ячейку div с кодом вставки ролика собственно.

inMashine 06.10.2007 21:57

Я пробовал так:
Код:

    <html>

<head>
  <title></title>
  <script type="text/javascript" src="swfobject.js"></script>
</head>

<body>

        <div id="flashcontent">
                        <strong>You need to upgrade your Flash Player</strong>
                        This is replaced by the Flash content.
                        Place your alternate content here and users without the Flash plugin or with
                        Javascript turned off will see this. Content here allows you to leave out <code>noscript</code>
                        tags. Include a link to <a href="swfobject.html?detectflash=false">bypass the detection</a> if you wish.
        </div>


      <table align="center" border=1 width="900" height="900">
        <tr><td>1</td><tr>
        <tr><td>
        <div >
            <script type="text/javascript">

                                var so = new SWFObject("logtype.swf", "sotester", "843", "240", "9", "black");
                            so.write("flashcontent");

                    </script>
                </div>
                </tr></td>
      </table>
</body>

</html>


Все равно влешка вылазит слева вверху страницы.

DarkLight 06.10.2007 21:59

ну Вы же перезаписываете div который вверху страницы, вот она и сверху. <div id="flashcontent">...</div> разместите внутри ячейки.

inMashine 06.10.2007 22:40

Спасибо, все заработало.


Часовой пояс GMT +4, время: 19:58.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.