summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes/ciframe.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-02 11:28:47 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-02 11:28:47 +0000
commit048b60ac34fd1e304282665fc835c76f63ad23b6 (patch)
treec2b7e7a7aae1a54c832f7c9acc8408a829efb5e3 /frontends/php/include/classes/ciframe.inc.php
parent70544b9e784123d3955a03851bfc86e1ca52feb5 (diff)
downloadzabbix-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/include/classes/ciframe.inc.php')
-rw-r--r--frontends/php/include/classes/ciframe.inc.php3
1 files changed, 2 insertions, 1 deletions
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)
{