六三科技网
您的当前位置:首页转:页面跳转代替<a>标签_html/css

转:页面跳转代替<a>标签_html/css

来源:六三科技网


本页显示可以直接用location,方法如下:

1.onclick="javascript:window.location.href='URL'"

2.onclick="location='URL'"

3.onclick="window.location.href='URL?id=11'"

如果页面中有frame可以将在location前面添加top.mainframe.frames['right_frame'].location

显示全文