Search completed in 0.95 seconds.
8 results for "onpagehide":
Window: pagehide event - Web APIs
Web › API › Window › pagehide event
is sent to a window when the browser hides the current page in the process of presenting a different page from the session's history. for example, when the user clicks the browser's back button, the current page receives a pagehide event before the previous page is shown. ...
... living standard initial specification. ...
...mple, an event handler is established to watch for pagehide events and to perform special handling if the page is being persisted for possible reuse. window.addeventlistener("pagehide", event => { if (event.persisted) { /* the page isn't being discarded, so it can be reused later */ } }, false); this can also be written using the onpagehide event handler property on the window: window.onpagehide = event => { if (event.persisted) { /* the page isn't being discarded, so it can be reused later */ } } specifications specification status comment html living standardthe definition of 'pagehide' in that specification. living standard initial specification. html5the definition of 'pagehide' in that specification. recommendation ...
Window - Web APIs
Web › API › Window
called when the pointer leaves the window. globaleventhandlers.onmouseover called when the pointer enters the window globaleventhandlers.onmouseup called when any mouse button is released windoweventhandlers.onoffline called when network connection is lost. see offline event. windoweventhandlers.ononline called when network connection is established. see online event. windoweventhandlers.onpagehide called when the user navigates away from the page, before the onunload event. see pagehide event. windoweventhandlers.onpageshow called after all resources and the dom are fully loaded. see pageshow event. windoweventhandlers.onpopstate called when a back button is pressed. globaleventhandlers.onreset called when a form is reset globaleventhandlers.onresize called continuously as you are...
...ing the # symbol). also available via the onhashchange property. pagehide sent when the browser hides the current document while in the process of switching to displaying in its place a different document from the session's history. this happens, for example, when the user clicks the back button or when they click the forward button to move ahead in session history. also available through the onpagehide event handler property. pageshow sent when the browser makes the document visible due to navigation tasks, including not only when the page is first loaded, but also situations such as the user navigating back to the page after having navigated to another within the same tab. also available using the onpageshow event handler property. popstate fired when the active history entry changes. al...
Attribute (XUL) - Archive of obsolete content
Archive › Mozilla › XUL › Attribute
multiple name negate newlines next noautofocus noautohide noinitialfocus nomatch norestorefocus object observes onbeforeaccept onbookmarkgroup onchange onclick onclosetab oncommand oncommandupdate ondialogaccept ondialogcancel ondialogclosure ondialogextra1 ondialogextra2 ondialoghelp onerror onerrorcommand onextra1 onextra2 oninput onload onnewtab onpageadvanced onpagehide onpagerewound onpageshow onpaneload onpopuphidden onpopuphiding onpopupshowing onpopupshown onsearchcomplete onselect ontextcommand ontextentered ontextrevert ontextreverted onunload onwizardback onwizardcancel onwizardfinish onwizardnext open ordinal orient pack pageid pageincrement pagestep parent parsetype persist persistence phase pickertooltiptext placeholder ...
Index - Archive of obsolete content
Archive › Mozilla › XUL › Index
! 232 onextra2 xul attributes, xul reference no summary! 233 oninput xul attributes, xul reference no summary! 234 onload xul attributes, xul reference no summary! 235 onnewtab xul attributes, xul reference no summary! 236 onpageadvanced xul attributes, xul reference no summary! 237 onpagehide xul attributes, xul reference no summary! 238 onpagerewound xul attributes, xul reference no summary! 239 onpageshow xul attributes, xul reference no summary! 240 onpaneload xul attributes, xul reference no summary! 241 onpopuphidden xul attributes, xul reference no summary! 242 onpopuphiding ...
Creating a Wizard - Archive of obsolete content
Archive › Mozilla › XUL › Tutorial › Creating a Wizard
f which page is currently displayed. to have different code called depending on which page you are on, use the onpagerewound or onpageadvanced attributes on a wizardpage element. they work in a similar way to the other functions except that you can use different code for each page. this allows you to validate the input entered on each page before the user continues. a third option is to use the onpagehide and onpageshow attributes on the wizardpage element. these methods will be called when the page is hidden or shown, regardless of which button was pressed (except when cancel is pressed -- you need to use onwizardcancel to check for this.) these three methods should provide enough flexibility to handle navigation as you need to. the following is a summary of attribute functions that are called w...
HTMLBodyElement - Web APIs
Web › API › HTMLBodyElement
t receives a message event. windoweventhandlers.onmessageerror is an eventhandler called whenever an object receives a messageerror event. windoweventhandlers.onoffline is an eventhandler representing the code to be called when the offline event is raised. windoweventhandlers.ononline is an eventhandler representing the code to be called when the online event is raised. windoweventhandlers.onpagehide is an eventhandler representing the code to be called when the pagehide event is raised. windoweventhandlers.onpageshow is an eventhandler representing the code to be called when the pageshow event is raised. windoweventhandlers.onpopstate is an eventhandler representing the code to be called when the popstate event is raised. windoweventhandlers.onrejectionhandled an eventhandler represen...
HTMLFrameSetElement - Web APIs
Web › API › HTMLFrameSetElement
nge event is raised. windoweventhandlers.onmessage is an eventhandler representing the code to be called when the message event is raised. windoweventhandlers.onoffline is an eventhandler representing the code to be called when the offline event is raised. windoweventhandlers.ononline is an eventhandler representing the code to be called when the online event is raised. windoweventhandlers.onpagehide is an eventhandler representing the code to be called when the pagehide event is raised. windoweventhandlers.onpageshow is an eventhandler representing the code to be called when the pageshow event is raised. windoweventhandlers.onpopstate is an eventhandler representing the code to be called when the popstate event is raised. windoweventhandlers.onresize is an eventhandler representing th...
WindowEventHandlers - Web APIs
Web › API › WindowEventHandlers
is raised. windoweventhandlers.onmessageerror is an eventhandler representing the code to be called when the messageerror event is raised. windoweventhandlers.onoffline is an eventhandler representing the code to be called when the offline event is raised. windoweventhandlers.ononline is an eventhandler representing the code to be called when the online event is raised. windoweventhandlers.onpagehide is an eventhandler representing the code to be called when the pagehide event is raised. windoweventhandlers.onpageshow is an eventhandler representing the code to be called when the pageshow event is raised. windoweventhandlers.onpopstate is an eventhandler representing the code to be called when the popstate event is raised. windoweventhandlers.onrejectionhandled is an eventhandler repre...