style injection in HEAD

0 views
Skip to first unread message

radu

unread,
Nov 18, 2009, 10:12:14 AM11/18/09
to SWFObject
I'm using swfObject to include 40 flash movies in a page. After doing
that, swfObject injects my HEAD with 40 style tags for each of my
movie ids <style> #movieXX {visibility:hidden} </style>. Then inline,
on each of my movies I get style="visibility:visible". Probably this
is how it's working, first hide the container and then show it after
the flash was inserted.
But this approach is not very elegant. In IE, if you're also using
excanvas.js (from google, to be able to use canvas element), you get
an error, because there are too many <style> tags defined. Is there a
fix for that?
Reply all
Reply to author
Forward
0 new messages