Dear all,
I want to use frames in my layout main.php file. I want to have menues from one frame, content from other and footer from last frame. I tried the following -
<?php $menuurl = Yii::app()->createUrl('site/menu');?>
<?php $contenturl = Yii::app()->createUrl('site/login');?>
<?php $footerurl = Yii::app()->createUrl('site/footer');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
<title><?php echo $this->pageTitle; ?></title>
</head>
<body>
<frameset id="myframeset" rows="12%,86%,*" frameborder=0 noresize framespacing=0>
<frame frameborder=0 name="title" src="<?=$menuurl?>" scrolling = "no" noresize marginwidth="0" marginheight=0>
<frame frameborder=0 name="main" src="<?=$contenturl?>" marginwidth="0" marginheight="0" >
<frame frameborder=0 name="footer" scrolling = "no" noresize src="<?=$footerurl?>" marginwidth="0" marginheight=0>
</frameset>
But its not working! Its giving plane white screen.
I might be wrong?
Any Idea?