diff options
Diffstat (limited to 'frontends/php/include/classes/ciframe.inc.php')
| -rw-r--r-- | frontends/php/include/classes/ciframe.inc.php | 3 |
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) { |
