这是木头教我的方法,上面的好像不能,但是下面这种100%能用!!!
就是这样的,,框架困扰了我好长时间。,- -! 还好木头大力帮助下,总算是搞定了!!! 呵呵,直接用 site_url() 就可以了,记得要装载 url helper
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html><head><title> 在线目录后台 </title>
<meta http-equiv="Content-Type" c>
</head>
<frameset rows="60,*,27" frameborder="no" border="0" framespacing="0">
<frame src="<?php echo $this->config->site_url();?>/Welcome/top" name="topFrame" scrolling="no">
<frameset rows="*" cols="0,*" name="ecc" framespacing="0" frameborder="no" border="0">
<frame src="<?php echo $this->config->site_url();?>/Welcome/menu" name="mainFrame" border="0" scrolling="no">
<frame src="<?php echo $this->config->site_url();?>/Welcome/main" name="rightFrame" scrolling="auto">
</frameset>
<frame src="<?php echo $this->config->site_url();?>/Welcome/bottom" name="bottomFrame" scrolling="no">
</frameset>
</html>
没怎么发过贴,不大懂!!!重新发一下, 楼上几位大哥,帮帮我啊,我怎么弄都是个白板,郁闷啊!用不上框架都是INCLUDE,心里很烦啊! OK,花了好些时间,仔细查看,发现<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">有问题。解决了。 正事我想要的东西
页:
1
[2]