Getting a DIV outside the Tab Content area to display isn't a complex task, so there's no reason to modify the script to accommodate this. Just use a separate JavaScript. For example, the below creates two links that when clicked on, shows/ hides a DIV on the page:
Code:
<script type="text/javascript">
function showhide(divid, state){
document.getElementById(divid).style.display=state
}
</script>
<a href="#" onClick="showhide('testdiv', 'block'); return false" >Show DIV</a> | <a href="#" onClick="showhide('testdiv', 'none'); return false" >Hide DIV</a>
<div id="testdiv" style="display:none">Some div here</div>
Now, if the DIV contains a video, you'll need to somehow get the video to play as well when the DIV is revealed. How to do this depends on the public methods made available by the player for controlling it via scripting.
Bookmarks