html跳转

1.a标签跳转

_blank是新窗口
_self是自身
_parent是父窗口
_top是顶层窗口
当然也可以是自己定义的一个frame 的名字
比如

<a href = "/#/api_help_chat.html" target="_blank">全部问题</a>

或者使用js

window.open("/static/html/api_help_chat.html"); 


2.跳转的时候带参数


3.跳转中有#

猜你喜欢

转载自blog.csdn.net/xiaoxiaoyu85/article/details/72723684