|
在坛子上看过这类问题都没有一个好的解决办法,根本无没显示框架集,求懂的帮助一下!你们是怎么解决的???
控制内容:
function index()
{
$this->load->view('admin/index');//框架页示图
}
function top() {
$this->load->view('admin/top');//top
}
function menu() {
$this->load->view('admin/menu');//menu
}
function main() {
$this->load->view('admin/main');
}
function bottom() {
$this->load->view('admin/bottom');
}
示图:admin/index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>111111111111111</title>
</head>
<frameset rows="60,*,27" frameborder="no" border="1" framespacing="0">
<frame src="<?php echo site_url("Welcome/top");?>" name="topFrame" scrolling="no">
<frameset rows="*" cols="0,*" name="ecc" framespacing="0" frameborder="no" border="1">
<frame src="<?php echo site_url("Welcome/menu");?>" name="mainFrame" border="0" scrolling="no">
<frame src="<?php echo site_url("Welcome/main");?>" name="rightFrame" scrolling="auto">
</frameset>
<frame src="<?php echo site_url("Welcome/bottom");?>" name="bottomFrame" scrolling="no">
</frameset>
<noframes>
<body>
skdljsldjslkdjskldjjjjjjjjjjjjjj
</body>
</noframes>
</html>
|
|