Home  >  Article  >  Web Front-end  >  html关于在新窗口中打开链接_html/css_WEB-ITnose

html关于在新窗口中打开链接_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:16:341308browse

最近在写一个类似与百度贴吧的一个东西,帖子必须要新窗口打开 。
连接
虽然可行,但是一旦打开一个新窗口,以后再此网站上创建target="_black"的窗口时就认定那个窗口了,如果再那个新窗口里返回主页,再点帖子,新窗口也失效了。
 
求解决方案。百度贴吧怎么都可以。。
 
我一开始是以为资源是同一个程序的问题,后来像百度贴吧URL重写后伪静态后还是不行!!!!


CSDN的论坛也是一直新窗口,怎么解决啊。
如果用window.open不会被拦截的麽


回复讨论(解决方案)

http://60.176.46.182:8080/DisplayBoard/

今天大概开着

有人告诉我 target=“”里面每个都不一样就可以了。
但是这样很不好,我有一大堆连接要新窗口。
比方说连帖子 用户个人动态什么的。
不合适。
而百度贴吧。
CSDN论坛就只有target="_black"却一直新窗口
求解决方案

window.open吧 谁拦割谁

window.open吧 谁拦割谁
现在谁还用window.open找死啊。

我知道哪里错了。单词写错了····

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