Everything in and including the <script> block. Have a look a the code generator, as it will show you how a complete page should look: http://www.bobbyvandersluis.com/swfobject/generator/index.html
Cheers, Aran On Wed, Aug 12, 2009 at 8:46 AM, mcwazza <[email protected]>wrote: > sorry what goes in the head? > > On Aug 11, 11:27 pm, Sam Sherlock <[email protected]> wrote: > > your script call to swfobject should be in the head of your document its > > currently inside the target div > > <div id="detect"> > > <script type="text/javascript"> > > <!-- > > // <![CDATA[ > > // create accessibility detection flash object > > var swfSource="access_detect.swf"; > > var flashvars = {}; > > var params = {}; > > var attributes = {}; > > attributes.id = "home"; > > attributes.name = "home"; > > > > swfobject.embedSWF(swfSource, "detect", "100%", > > "430", "9.0.0", > > "expressInstall.swf", flashvars, params, attributes); > > > > // ]]> > > //--> > > </script> > > </div> > > - S > > > > 2009/8/11 mcwazza <[email protected]> > > > > > <div id="detect"> > > > <script type="text/javascript"> > > > <!-- > > > // <![CDATA[ > > > // create accessibility detection flash object > > > var swfSource="access_detect.swf"; > > > var flashvars = {}; > > > var params = {}; > > > var attributes = {}; > > > attributes.id = "home"; > > > attributes.name = "home"; > > > > > swfobject.embedSWF(swfSource, "detect", "100%", > > > "430", "9.0.0", > > > "expressInstall.swf", flashvars, params, attributes); > > > > > // ]]> > > > //--> > > > </script> > > > </div> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
