oops, I forgot the </head> tag - fingers moving faster than brain, but you know where to put that, I'm sure.
*********** REPLY SEPARATOR *********** On 12/31/2008 at 7:32 AM Jimbo wrote: You don't say which version of swf object you are using, but if you are using 2.1, and dynamic, here is how you would do it: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- saved from url=(0014)about:internet --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>My Web Site</title> <script src="swfobject.js" type="text/javascript"></script> <script type="text/javascript"> var flashvars = {}; var params = {}; params.bgcolor = "#E6FFDD"; var attributes = {}; attributes.id = "myIntro"; swfobject.embedSWF("swf/myIntro.swf", "myIntro", "149", "250", "8.0.0", false, flashvars, params, attributes); </script> <script type="text/javascript"> var flashvars = {}; var params = {}; params.bgcolor = "#ffffff"; var attributes = {}; attributes.id = "header"; swfobject.embedSWF("swf/header.swf", "header", "960", "250", "9.0.0", "expressInstall.swf", flashvars, params, attributes); </script> <body> <div id="header">Content for users without flash - the header will appear here</div> <div> More Stuff</div> <div id="myIntro">Content for users without flash - the intro swf will appear here</div> <div> More stuff</div> </body> Whatever version you are using, just be sure that each swf-div-id is unique. hth, jimbo *********** REPLY SEPARATOR *********** On 12/30/2008 at 6:32 PM lexhart wrote: the Url where it is placed meanwhile: http://preview.lexhart.at/ in this case the second is overwriting the first one ยด... or it even looks like this M --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
