From 048b60ac34fd1e304282665fc835c76f63ad23b6 Mon Sep 17 00:00:00 2001 From: artem Date: Thu, 2 Aug 2007 11:28:47 +0000 Subject: - added iframe resize in slideshow (Artem) git-svn-id: svn://svn.zabbix.com/trunk@4503 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/classes/ciframe.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'frontends/php/include/classes/ciframe.inc.php') diff --git a/frontends/php/include/classes/ciframe.inc.php b/frontends/php/include/classes/ciframe.inc.php index 9e9b4376..5256813a 100644 --- a/frontends/php/include/classes/ciframe.inc.php +++ b/frontends/php/include/classes/ciframe.inc.php @@ -22,7 +22,7 @@ class CIFrame extends CTag { /* public */ - function CIFrame($src=NULL,$width="100%",$height="100%",$scrolling="no") + function CIFrame($src=NULL,$width="100%",$height="100%",$scrolling="no",$id='iframe') { parent::CTag("iframe","yes"); @@ -35,6 +35,7 @@ $this->SetWidth($width); $this->SetHeight($height); $this->SetScrolling($scrolling); + $this->AddOption('id',$id); } function SetSrc($value=NULL) { -- cgit