Home  >  Article  >  Backend Development  >  ci页面跳转有关问题,新手求解

ci页面跳转有关问题,新手求解

WBOY
WBOYOriginal
2016-06-13 13:34:33964browse

ci页面跳转问题,新手求解
就是我的主页包含,left、top、还有main。left是左边的导航页面,现在我要实现一个点击left导航栏的a标签可以跳转到特定的model方法比如index.php/news,我在href里写href="根目录/index.php/news"怎么不行啊,要怎么写

------解决方案--------------------
/根目录

index.php/new 这是什么,你重写URL了, 还是index.php是目录 还是index.php?type=news。


------解决方案--------------------
这与 ci 无关,是html的事情

对于单个的连接可写作

如果 left 中的所有连接都是这样,可在 left 的 head 部分写入

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn