浏览器后退按钮问题

发布于 2024-11-14 14:16:42 字数 288 浏览 5 评论 0原文

我有一个问题,如果您有解决方案,请尽快告知

  1. 我有 HTML 页面和 PHP 文件。
  2. 我有一张图片,单击该图片时,将打开一个 Iframe。然后事务将在该 Iframe 内继续。
  3. 当 Iframe 打开时,浏览器后退按钮不应该起作用。如果 Iframe 关闭,则浏览器后退按钮应该可以使用。
  4. 我使用 jquery.colorbox.js 来显示 Iframe 弹出
  5. 键盘后退箭头,并且使用右键单击鼠标返回也不应该工作。
  6. 需要举例说明

I have one issue if you have solution, please advise asap

  1. I have the HTML page and PHP file.
  2. I have one image, While clicking that image, an Iframe will be opened. Then the transactions will be continuing within that Iframe.
  3. When Iframe opens, the browser back button should not work. If Iframes closes, then the browser back button should work.
  4. I am using jquery.colorbox.js for Iframe pop up
  5. Keyboard back arrow and Back using right click mouse also should not work.
  6. Need explanation with example

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

脱离于你 2024-11-21 14:16:42

这是不可能的:

这已经 - 询问了几次 - 已经

我会使用 jQuery 的 load() 而不是框架。

it's not possible:

this has been - asked several times - already.

I would use jQuery's load() instead of frames.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文