日期:2014-05-16  浏览次数:20302 次

求助一个button跳转页面问题
http://localhost:88/index.php/muban/lister这个页面有一个:
<input type="button" class="anniu01" value="导入刊登模板" onclick="window.open('http://www.abc.com/index.php/import/importxls');" target="_blank_importmuban">

点击这个button跳转到:
http://www.ibay365.com/index.php/import/importxls
这个界面是导入模板的界面,开始导入模板,导入成功后跳转到:
http://www.ibay365.com/index.php/import/importxlshelper/filename/20120410-2125183237

这个界面有一个:
<a href="<?=url('muban/lister')?>" class="a_underline "> 模板列表 </a>

点击这个“模板列表”超链接,跳转到:
http://www.ibay365.com/index.php/muban/lister

现在要求是:点击“模板列表”超链接跳转到:
http://localhost:88/index.php/muban/lister

请问应该怎么做?谢谢

------解决方案--------------------
那你就写个完整的URL,不要相对地址啰
------解决方案--------------------
已经跳焖了。 用php/js跳转都可以啊。有什么问题吗?