tpage68
(Todd)
1
Is it possible to hide a dive outside of Hype?
<div id="thype_container" style="margin:auto;position:relative;width:600px;height:400px;overflow:hidden;">
<script type="text/javascript" charset="utf-8" src="hyperesources/hype_generated_script.js?92623"> </script>
</div>
<div id="divToHide"> something here</div>
jonathan
(Jonathan Deutsch)
2
Hype doesn’t know about it, but you can just use vanilla javascript:
document.getElementById("divToHide").style.display = "none";
tpage68
(Todd)
3
I actually tried that, but will try it again... Thanks!
tpage68
(Todd)
4
For some reason it worked this time???
2 Likes
jonathan
(Jonathan Deutsch)
6
It’d be hard to know why it didn’t work before without seeing that code; could have just been a typo
.