473,394 Members | 1,845 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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

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
7 1189

"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
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
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
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

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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Andrew Durstewitz | last post by:
Hey, For some reason I am being forced to use frames on an internal website. What I am doing is usuing ASP to tell it what frames to be using for each STEP in the session. User interaction...
40
by: JohnnyCJohnny | last post by:
Is it pretty safe to say that almost all web surfers now use browsers that are Frames compatible? What are most people using these days? IE? Thanks
34
by: s c o t t | last post by:
I know Jakob Neilsen and a bunch of other usability advocates and critics usually frown on usage frames. However, most people probably seem to have at least version 5 of IE or newer and I am...
5
by: Ivo | last post by:
Dear Newsgroup, many framed sites have an ancient script in all their pages: if(top==self) top.location=theframeset Some friendlier ones do this: if(top==self) document.write( '<a...
1
by: Aki | last post by:
Hi! I've been trying to create a home link in a document that is shown in a frameset of two frames. My aim is to show the first documents that were shown in the frames when the frameset was...
7
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three...
95
by: Neal | last post by:
Of course, every frame site I've ever seen has reduced usability and all. We've been through this before. But as frameset is still a part of HTML, there must be some legitimate use for it, hmm?...
1
by: David Hearn | last post by:
I have a site that I have built. It uses a default.aspx page for the home page and then to login, it will redirect to login.aspx. After the user has successfully logged in, it redirects them to a...
5
by: AES | last post by:
Would appreciate being pointed to a template or a sample web site that will show me how to do the following frame-like organization, without using frames. My objective is a web site done in CSS...
7
by: rjames.clarke | last post by:
Back when frames were in vogue, we would set up the navigation or menu bar to change the content of the main frame. This had the advantage of not requiring the whole page to reload. Just the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.