You are here

function tinybrowser_get_window_height in TinyBrowser 7

3 calls to tinybrowser_get_window_height()
tinybrowser_set_js_variables in ./tinybrowser.module
tinybrowser_user_page in ./tinybrowser.userpage.inc
Contents of user account page
tinybrowser_wysiwyg_plugin in ./tinybrowser.module
Implements hook_wysiwyg_plugin().

File

./tinybrowser.module, line 56

Code

function tinybrowser_get_window_height() {
  $popup_win_size = variable_get('tinybrowser_popup_window_size', '770x480');
  $popup_win_size = preg_replace('/\\s*/', '', $popup_win_size);
  $popup_win_size = strtolower($popup_win_size);
  $win_size = explode('x', $popup_win_size);
  return intval($win_size[1]);
}