diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-08-02 11:28:47 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-08-02 11:28:47 +0000 |
commit | 048b60ac34fd1e304282665fc835c76f63ad23b6 (patch) | |
tree | c2b7e7a7aae1a54c832f7c9acc8408a829efb5e3 /frontends/php/screens.php | |
parent | 70544b9e784123d3955a03851bfc86e1ca52feb5 (diff) | |
download | zabbix-048b60ac34fd1e304282665fc835c76f63ad23b6.tar.gz zabbix-048b60ac34fd1e304282665fc835c76f63ad23b6.tar.xz zabbix-048b60ac34fd1e304282665fc835c76f63ad23b6.zip |
- added iframe resize in slideshow (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@4503 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/screens.php')
-rw-r--r-- | frontends/php/screens.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/php/screens.php b/frontends/php/screens.php index 10699b2e..04b3aa9a 100644 --- a/frontends/php/screens.php +++ b/frontends/php/screens.php @@ -181,6 +181,9 @@ include_once "include/page_header.php"; else { $element = get_slideshow($elementid, get_request('step', null), $effectiveperiod); + zbx_add_post_js('if(typeof(parent) != "undefined") parent.resizeiframe("iframe"); + else resizeiframe("iframe"); + '); } if($element) $element->Show(); |