Click to See Complete Forum and Search --> : Switching content
corbo46
04-13-2010, 01:13 AM
So I have two pieces of multimedia..... one is a flex swf and the other if a game using a web-runtime called panda3D.... i need to display one of them at a time and hide the other.... like when the person pauses the game then the game gets hidden and then the flex gets show..... i have tried using the CSS visibility attribute but this doesn't seem to work.... they can both talk to javascript... any ideas?
Eye for Video
04-13-2010, 09:10 AM
You can use javascript to hide or show the content of a <div>.
So Google "javascript to hide show div" or "toogle div visibilty with javascript".
You may be able to adapt that to show one multimedia then another.
Best wishes,
Eye for Video
www.cidigitalmedia.com
corbo46
04-13-2010, 03:57 PM
thats what im saying i tried hiding the div and they hide but as soon as i tell them to show back up i get a blank page