Basically what i wanna do is hide the photo onclick and load the Video
here what i got
HTML Code:<!--ybadel l conentetn --> <script><!-- function ReplaceContentInContainer(id,id2) { var container = document.getElementById(id); var Jdeed = document.getElementById(id2); container.innerHTML = Jdeed; } //--></script> <!--tabdeeel --> <div id="poster" > <a href="javascript:ReplaceContentInContainer('poster','video')"><img src="050825-F-0000N-002.jpg" width="640" height="390"> </a></div> <div id="video"> <iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/JxdfUsULr0s" frameborder="0" allowfullscreen></iframe> </div>
i get an error Please Help



Reply With Quote
Bookmarks