By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,624 Members | 1,643 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,624 IT Pros & Developers. It's quick & easy.

Frames causes back-button to malfunction..... any remedies?

P: n/a
Hello,

Is there anyway to detect when the back button has been pushed? I have
three frames, and it requires three pushes of the back button to get
back to the previous "window". I would like to detect when the user
pushes it and send them back in one go.

thanks,

Matt.

Jul 23 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a

"Matt MC" <ma******@yahoo.com> schreef in bericht
news:11**********************@o13g2000cwo.googlegr oups.com...
Hello,

Is there anyway to detect when the back button has been pushed? I have
three frames, and it requires three pushes of the back button to get
back to the previous "window". I would like to detect when the user
pushes it and send them back in one go.


that's why frames are evil:
http://www.html-faq.com/htmlframes/?framesareevil

Dan
Jul 23 '05 #2

P: n/a
In message <d2**********@news3.zwoll1.ov.home.nl>, Dano
<da***********@hotmail.com> writes

"Matt MC" <ma******@yahoo.com> schreef in bericht
news:11**********************@o13g2000cwo.googleg roups.com...
Hello,

Is there anyway to detect when the back button has been pushed? I have
three frames, and it requires three pushes of the back button to get
back to the previous "window". I would like to detect when the user
pushes it and send them back in one go.


that's why frames are evil:
http://www.html-faq.com/htmlframes/?framesareevil

Dan

Never evil ......... just a little bit misunderstood ........

--
Jake

Jul 23 '05 #3

P: n/a
jake wrote:
In message <d2**********@news3.zwoll1.ov.home.nl>, Dano
<da***********@hotmail.com> writes

"Matt MC" <ma******@yahoo.com> schreef in bericht
news:11**********************@o13g2000cwo.googlegr oups.com...
Hello,

Is there anyway to detect when the back button has been pushed? I have
three frames, and it requires three pushes of the back button to get
back to the previous "window". I would like to detect when the user
pushes it and send them back in one go.

that's why frames are evil:
http://www.html-faq.com/htmlframes/?framesareevil

Dan

Never evil ......... just a little bit misunderstood ........


No, they are evil.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #4

P: n/a
Randy Webb wrote:
Is there anyway to detect when the back button has
been pushed? I have three frames, and it requires
three pushes of the back button to get
back to the previous "window". I would like to
detect when the user pushes it and send them back in
one go.


You have to be very careful about this. If you press the
back button when you're already in the previous window,
it can bring your operating system down and damage your
soft disk.
--
mbstevens http://www.mbstevens.com
4/1/05

Jul 23 '05 #5

P: n/a

Matt MC wrote:
Hello,

Is there anyway to detect when the back button has been pushed? I have three frames, and it requires three pushes of the back button to get
back to the previous "window". I would like to detect when the user
pushes it and send them back in one go.

thanks,

Matt.

<body onunluad="reverse();history(-1)">

<script>
reverse(){
null
}
</script>

Jul 23 '05 #6

P: n/a
Gazing into my crystal ball I observed "Julia Briggs" <ju*******@yahoo.com>
writing in news:11**********************@o13g2000cwo.googlegr oups.com:

Matt MC wrote:
Hello,

Is there anyway to detect when the back button has been pushed? I
have three frames, and it requires three pushes of the back button to
get back to the previous "window". I would like to detect when the
user pushes it and send them back in one go.

thanks,

Matt.

<body onunluad="reverse();history(-1)">

<script>
reverse(){
null
}
</script>


Well, that's not going to work for _anyone_, maybe onunlOad, and that's if
the user has javascript available.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 23 '05 #7

P: n/a
mbstevens wrote:
Randy Webb wrote:
> Is there anyway to detect when the back button has
> been pushed? I have three frames, and it requires
> three pushes of the back button to get
> back to the previous "window". I would like to
> detect when the user pushes it and send them back in
> one go.


You have to be very careful about this. If you press the
back button when you're already in the previous window,
it can bring your operating system down and damage your
soft disk.


You're one day late :)
PointedEars
--
Die Amerikaner haben ihre Ausgaben zur Bekämpfung der Armut in der Welt
gerade auf 1,7 Milliarden Dollar reduziert. Das ist nicht einmal so viel,
wie sie in zwei Tagen fürs Militär ausgeben.
-- Eugen Drewermann, dt. Theologe, Februar 2003
Jul 23 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.