I can think of two ways of doing this. One without the use of jQuery, and another using jQuery, which is my preference.
Without jQuery:
Code:
<div onclick = "this.style.display='none';document.getElementById('content_container').style.display='block'">My super button</div>
<div id = "content_container" style = "display:none">
My content that was hidden but its visible now that I clicked on my button.
Insert your video, image, etc here.
</div>
Of course you can just define your CSS for both fields in an external css file. (The preferred method), but this gives you an idea.
You can do this in a much simpler way with jQuery. All you have to do is add jQuery javascript package file. And then rewrite the code above as:
Code:
<div onclick = "$(this).toggle(); $('content_container').show()">My super button</div>
<div id = "content_container" style = "display:none">
My content that was hidden but its visible now that I clicked on my button.
Insert your video, image, etc here.
</div>
You added a new message after I started writing this. If you want everything to happen within the same DIV block, then you can nest the divs:
Code:
<div class = "GlobalSuperContainer">
<input type = "button" value = "My Button" onclick = "$(this).toggle(); $('content_container').show()">
<div id = "content_container" style = "display:none">
My content that was hidden but its visible now that I clicked on my button.
Insert your video, image, etc here.
</div>
</div>
I strongly suggest you start using jQuery for these types of things. You will not regret you started learning it now.
A more proper way would be probably to use jQuery's command hide(), instead of toggle(), but it's essentially the same thing.
Bookmarks