Hello I am having issues with a script.. I am trying to have an array carry a bunch of vimeo codes. What I want to do is make it so that when someone clicks a button created by the array they are able to see a vimeo script open in a hidden div.. The show hide div works but when the div shows its self I want the new vimeo or html code to appear according to what video they choose...
</head><body>
<div id="onefloater">
<div id="logo">
<img src="MY BANNER">
</div>
<br />
<div id="one">
<div align="right">
<font color="black" size="6">Close</font>
<a href="CLOSE DIV ICON IMAGE" /></a>
<!-----
HERE IS WHERE U WANT THE JAVASCRIPT TO SHE THE HTML ----
WHAT I NEED IS the below iframe stored in the javascript and to appear when clicked below.
<iframe src="http://player.vimeo.com/video/5?title=0&byline=0&portrait=0&autoplay=0" width="960" height="520" frameborder="0"></iframe>
----->
</div>
<center>
<br />
<br /><br />
<script type="text/javascript">
</script>
</center>
</div>
<div id="videos">
<center>
<br /><br /><br />
<div class="vidspot">
<a href="#" onclick="showVid()" onclick="showsone()"> Click here to pass variable</a>
<script type="text/javascript">
HERE IS WERE I WANT A BUTTON PRESSED THAT WILL ALLOW SOME HTML TO APPEAR IN THE HIDDEN DIV ABOVE
something like
function showVid(){
var vid;
vid = "html code";
}
</script>
</div>
</div>
</center>
</div>
I hope this is clear this is my first post so if you have any questions please let me know. Thank you very much for all your help...