[SWFObject] SWFObject in Tables

Aran Rhee aran.rhee at gmail.com
Mon May 1 21:51:58 PDT 2006


Chris.
 
It is my understanding that swfObject needs a div tag to overwrite flash
content to. You can just place a div inside your table cell like the below:

 
<table width="100%" height="100%"  border="0" cellpadding="0"
cellspacing="0">
    <tr>
      <td align="center" valign="middle">
    <div id="flashcontent">
     If you don't have the required Flash Player Version, you will see this
text as alternative content
    </div>
 
    <script language="JavaScript" type="text/javascript">
     // <![CDATA[
      var fo = new FlashObject("a.swf", "swf", "968", "576", "8.0.0",
"#ffffff");
      fo.write("flashcontent");
     // ]]>
    </script>
   </td>
    </tr>
  </table>
 
Cheers,
 
Aran


  _____  

From: swfobject-bounces at lists.deconcept.com
[mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of Chris Hahn
Sent: Tuesday, 2 May 2006 2:29 PM
To: swfobject at lists.deconcept.com
Subject: [SWFObject] SWFObject in Tables



Has anyone got SWFObject working with tables at all? I'm working on an
elastic layout where the tables layout keeps itself centered as you resize
the browser, but SWFObject is looking for Div tags and those are gone when I
convert all of the DW layers to tables. Clues anyone?

 

::chris::

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060502/a46837dc/attachment-0005.htm>


More information about the Swfobject mailing list