Re: frames and back action



Flyzone schreef:
On 18 Nov, 19:15, Erwin Moller
<Since_humans_read_this_I_am_spammed_too_m...@xxxxxxxxxxxxxxxx> wrote:
Warning: Thomas Pointedears once told me that 138% of the statistics you
find on the web are flawed. ;-)

Will be used by 3 users in a intranet...no problem for that :P

Don't use frames and avoid this whole mess. Or make a working syncing
mechanism in JavaScript.

I cannot avoid frames (many reasons for this), but I however have the
problem with the back action...
From msdn website seems not exist and if I try to use it in a
webpage,
the action is made when loading the page.
So..how to intercept the back button of the browser?

Hi,

I cannot follow everything you wrote, but I can maybe help with the last question: "So..how to intercept the back button of the browser?"

Have a look at the unload event handler, eg:
<body onUnLoad="alert('bye');">

Maybe you can do the syncing in there?

Regards,
Erwin Moller


Thanks...


--
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult."
-- C.A.R. Hoare
.



Relevant Pages

  • Re: capture Paste event in text-area
    ... Please note the listed keydown and keyup. ... Since the OP had troubles with support in different browser for the keypress this seems like a good place to start reading. ... "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. ...
    (comp.lang.javascript)
  • Re: window and the "good parts"?
    ... browser" option in JSLint. ... A person, usually an experienced or senior software engineer, who is intimately familiar with many or most of the numerous restrictions and features applicable to one or more computer programming languages. ... "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. ...
    (comp.lang.javascript)
  • Re: Intercepting and updating page output...
    ... > I am working on a CMS that uses html templates with placeholder strings ... Then intercept the page as it is being rendered to the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: postback in PHP
    ... I am trying to insert a record through a form in PHP. ... the Back button on the browser, it creates another instance of the ... inserting the record? ... "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. ...
    (comp.lang.php)
  • Re: window and the "good parts"?
    ... list of pre-defined globals that are included in the "assume a browser" ... option in JSLint. ... "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. ...
    (comp.lang.javascript)