Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望你能帮助我。我们有脚本来重定向我们网络上的人。如果有人接受了我们的条款,他们将被重定向到我们的新闻页面。
现在我们希望这种重定向,作为通过单击按钮接受条款的动作<a href="<?php print $grant_url ?>">将在一个全新的浏览器窗口中打开(不是弹出窗口)
<a href="<?php print $grant_url ?>">
我们可以使用 window.open 吗?如何?
如果您知道登录到您系统的用户,您可以检查他是否同意您的条款或其他任何内容,然后当他单击您时,您将打开窗口或带有特定目标所需参数的标题 window.open("x.PHP ?var=&Var=,目标")