后退按钮功能 [英] Back button functionality

查看:92
本文介绍了后退按钮功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我使用history.go(-1)来实现后退按钮

功能。


它的工作正常,但有这个例外。


1.有后退按钮的页面上有一些超链接。


2.当有人点击这些链接时,它会打开一个新的窗口。


3.关闭新窗口后,当我点击后退按钮时,它是

再次打开新窗口。但是,我想将页面重定向

到上一页到后退按钮页面。


4.但是,它重定向到后页正确的时候我只需点击

后退按钮而无需打开任何链接。


您的建议非常感谢。


问候。

Hi,

I am using history.go(-1) for implementing the back button
functionality.

Its working fine but with this exception.

1. The page which is having back button has some hyperlinks on it.

2. When anybody click on those links, it will open a new windown.

3. After closing the new window, when I click on back button, it is
again opening the new window. But, I want to the page to be redirected
to the previous page to the back button page.

4. But, Its redirecting to the back page correctly when I just click
the back button without opening any link.

Your suggestions are greatly appreciated.

Regards.

推荐答案

2005年5月20日,KK写道:
On 20 May 2005, KK wrote:
我是使用history.go(-1)实现后退按钮
功能。


为什么不实现功能退出浏览器

和关闭计算机?

你的建议是非常感谢。
I am using history.go(-1) for implementing the back button
functionality.
Why not implementing also the functionalities "Quit Browser"
and "Switch off Computer"?
Your suggestions are greatly appreciated.




忘了它!


-

热门发布。

Usenet上最令人恼火的事情是什么?



Forget about it!

--
Top-posting.
What''s the most irritating thing on Usenet?




KK写道:

KK wrote:
我使用history.go(-1)来实现后退按钮
功能。


为什么?我的浏览器有一个功能完善的后退键;我不需要

网站作者为我重新发明这个轮子。

2.当有人点击这些链接时,它会打开一个新的窗口。
I am using history.go(-1) for implementing the back button
functionality.
Why? My browser has a perfectly functional back button; I don''t need
site authors reinventing that wheel for me.
2. When anybody click on those links, it will open a new windown.




这很烦人,原因很多,包括它破坏了完美的后退功能的

功能。我的浏览器中的按钮

(无论你是否用JavaScript重新实现它)。


-

Dan



That''s annoying, for a number of reasons including that it breaks the
functionality of the perfectly good "back" button in my browser
(whether or not you reimplement it in JavaScript).

--
Dan


在我们的上一集中,

< 11 ******************* **@g49g2000cwa.googlegroups。 com>,

comp.infosystems广播的可爱且有才华的KK

www.authoring.html:
In our last episode,
<11*********************@g49g2000cwa.googlegroups. com>,
the lovely and talented KK
broadcast on comp.infosystems.www.authoring.html:

我使用history.go(-1)来实现后退按钮
功能。
Hi, I am using history.go(-1) for implementing the back button
functionality.




什么浏览器还没有后退按钮有效?

-

Lars Eighner ei*****@io.com http://www.larseighner.com/

学院:知识的源泉,每个人都去喝酒。



What browser doesn''t already have a back button that works?
--
Lars Eighner ei*****@io.com http://www.larseighner.com/
College: The fountains of knowledge, where everyone goes to drink.


这篇关于后退按钮功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆