Search completed in 1.00 seconds.
11 results for "onpageshow":
More Wizards - Archive of obsolete content
Archive › Mozilla › XUL › Tutorial › More Wizards
dvance, which can be set to true to indicate that the next button should be enabled. if set to false, the next button is disabled. you can change the property when invalid or valid data has been entered. in the following example, the user must enter a secret code into a textbox on the first page of the wizard. the function checkcode() is called whenever the first page is shown as indicated by the onpageshow attribute. it is also called whenever a key is pressed in the textbox, to determine whether the next button should be enabled again. wizard example source <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <wizard id="thewizard" title="secret code wizard" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script> function checkcode(){ ...
...both properties are adjusted automatically as...
Window - Web APIs
Web › API › Window
handlers.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 resizing the window. globaleventhandlers.onscroll called when the scroll bar is moved via any means. if the resource fully fits ...
...ck 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. also available using the onpopstate event handler property. load & unload events beforeunload fired when the window, the document and its resources are about to be unloaded. also available via the onbeforeunload property. domcontentloaded fired when the document has been completely loaded and parsed, without...
tabs - Archive of obsolete content
Archive › Add-ons › Add-on SDK › High-Level APIs › tabs
unction a callback function that will be registered for the 'close' event. this is an optional property. onready function a callback function that will be registered for the 'ready' event. this is an optional property. onload function a callback function that will be registered for the 'load' event. this is an optional property. onpageshow function a callback function that will be registered for the 'pageshow' event. this is an optional property. onactivate function a callback function that will be registered for the 'activate' event. this is an optional property. ondeactivate function a callback function that will be registered for the 'deactivate' event. this is an option...
Attribute (XUL) - Archive of obsolete content
Archive › Mozilla › XUL › Attribute
lines 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 popup position predicat...
Index - Archive of obsolete content
Archive › Mozilla › XUL › Index
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 xul attributes, xul reference no summary! 243 onpopupshowing xul attributes, xul reference no summary! 244 onpopupsho...
Creating a Wizard - Archive of obsolete content
Archive › Mozilla › XUL › Tutorial › Creating a Wizard
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 when the user pr...
wizard - Archive of obsolete content
Archive › Mozilla › XUL › wizard
moreover this hides separator ...
HTMLBodyElement - Web APIs
Web › API › HTMLBodyElement
essageerror 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 representing the code executed when the rejectionhandled event is raised, indicating that a promise was rejected and the rejection...
HTMLFrameSetElement - Web APIs
Web › API › HTMLFrameSetElement
e 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 the code to be called when the resize event is raised. windoweventhandlers.onstorage is an eventhandler representing the c...
Window: pageshow event - Web APIs
Web › API › Window › pageshow event
loading the page navigating to the page from another page in the same window or tab restoring a frozen page on mobile oses returning to the page using the browser's forward or back buttons during the initial page load, the pageshow event fires after the load event. bubbles no cancelable no interface pagetransitionevent event handler property onpageshow examples this example sets up event handlers for events listed in the array events. the handler, eventlogger(), logs the type of event that occurred to the console, and includes the value of the persisted flag on pageshow and pagehide events. javascript const events = [ "pagehide", "pageshow", "unload", "load" ]; const eventlogger = event => { switch (event.type) { case "page...
WindowEventHandlers - Web APIs
Web › API › WindowEventHandlers
r 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 representing the code to be called when the rejectionhandled event is raised, indicating that a promise was rejected and the re...