[SWFObject] Firefox Percentage Problem

Geoff Stearns geoff at deconcept.com
Thu Oct 19 06:58:33 PDT 2006


this happens if you have a doctype on the document, like xhtml 1.0 -  
in xhtml you have to explicitly state that all the parent elements of  
the swf div are 100% height.

for an example of how to make so mething 100% by 100% using css, look  
at the fullscreen.html page that comes with swfobeject.




On Oct 19, 2006, at 6:36 AM, Tim Woodward wrote:

> I am attempting to insert swf content @ 100% x 100% using the code :
>
> <script type="text/javascript">
>    var fo = new SWFObject("test.swf", "test.swf", "100%", "100%",
> "8", "#000000");
>    fo.write("flashcontent");
> </script>
>
> This displays correctly in OS X Safari, but in Firefox it appears as
> a mini centered version at the top of the page.
>
> Ideas ?
>
> Many Thanks.
>
> Tim Woodward.
>
>
>
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list