daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Jul 20th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2. $(document).ready (function autoHeight(){
  3. var container = document.getElementById("body");
  4. var radiframe = parent.document.getElementById("radioiframe");
  5. var setHeight = Math.round(container.offsetHeight - radiframe.offsetHeight);
  6. parent.$("#content").height(setHeight);
  7. });
  8. </script>
  9.    
  10. var height_calc = Math.round($("body").height() - parent.$("#radioiframe").height());
  11.  
  12. $(window).load(function setHeight(){
  13. parent.$("#content").height(height_calc);
  14. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top