Hey Aran, That is what I do but it reloads my flash movie then. I will try somethings tomorrow and build step from step everything up again. For now i don't have a clue what it can be.
Thanks for your help, Marko On 2 mei, 03:08, "Aran Rhee" <[email protected]> wrote: > Showing and hiding layers via style.display is the normal way to do things > without tearing down / rebuilding content. > > Aran > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > > Behalf Of Marko > Sent: Saturday, 2 May 2009 7:13 AM > To: SWFObject > Subject: Multi site. Flash vs HTML > > I was just wondering if it is possible to make the Flash movie > invisible so the html get visible. I know that i couldn't be in the > div that was replaced. So i got the following code in my body. > > <body> > <ul id="ChoiseSite"> > <li id="ChoiseFlash"><span>Flash</span></li> > <li > id="ChoiseJavascript"><span>Javascript</span></li> > </ul> > > <div id="siteFlash"><div id="siteFlashHolder"></div></div> > > <div id="siteJavascript"></div> > </body> > > It does do the trick. I can from Flash to my normal HTML code and also > back. > The problem now is that my flash movie gets reloaded. > I tried to create a new div inside he siteFlash div but still the > flash gets reloaded. > > I am now not sure if it is because of SWFObject or just because of the > browser. > > I do it now trought: > > document.getElementById("siteFlash").style.display = "None"; > > document.getElementById("siteJavascript").style.display = "Block"; > > but I was wondering if there is another/better way to do it. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
