newpage.ui.js 286 B

12345678910111213141516
  1. window.setHeight = function()
  2. {
  3. codeHeight = parent.$('#editWin').height();
  4. $('.panel').height(codeHeight);
  5. }
  6. window.openInEditWin = function(url)
  7. {
  8. parent.$('#editWin').attr('src', url);
  9. };
  10. setHeight();
  11. window.addEventListener('resize', function()
  12. {
  13. setHeight();
  14. });