Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(document).ready (function autoHeight(){
- var container = document.getElementById("body");
- var radiframe = parent.document.getElementById("radioiframe");
- var setHeight = Math.round(container.offsetHeight - radiframe.offsetHeight);
- parent.$("#content").height(setHeight);
- });
- </script>
- var height_calc = Math.round($("body").height() - parent.$("#radioiframe").height());
- $(window).load(function setHeight(){
- parent.$("#content").height(height_calc);
- });
Add Comment
Please, Sign In to add comment