Search completed in 0.97 seconds.
11 results for "onpageshow":
More Wizards - Archive of obsolete content
Archive › Mozilla › XUL › Tutorial › More Wizards
the function checkcode() is called whenever the first page is shown as indicated by the onpageshow attribute.
...rd 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(){ document.getelementbyid('thewizard').canadvance = (document.getelementbyid('secretcode').value == "cabbage"); } </script> <wizardpage onpageshow="checkcode(); return true;"> <label value="enter the secret code:"/> <textbox id="secretcode" onkeyup="checkcode();"/> </wizardpage> <wizardpage> <label value="that is the correct secret code."/> </wizardpage> </wizard> there is also a corresponding canrewind property that you can use to enable or disable the back button.
Window - Web APIs
Web › API › Window
windoweventhandlers.onpageshow called after all resources and the dom are fully loaded.
... also available using the onpageshow event handler property.
tabs - Archive of obsolete content
Archive › Add-ons › Add-on SDK › High-Level APIs › tabs
onpageshow function a callback function that will be registered for the 'pageshow' event.
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
239 onpageshow xul attributes, xul reference no summary!
Creating a Wizard - Archive of obsolete content
Archive › Mozilla › XUL › Tutorial › Creating a Wizard
a third option is to use the onpagehide and onpageshow attributes on the wizardpage element.
wizard - Archive of obsolete content
Archive › Mozilla › XUL › wizard
xamples <?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(){ document.getelementbyid('thewizard').canadvance = (document.getelementbyid('secretcode').value == "cabbage"); } </script> <wizardpage onpageshow="checkcode();"> <label value="enter the secret code:"/> <textbox id="secretcode" onkeyup="checkcode();"/> </wizardpage> <wizardpage> <label value="that is the correct secret code."/> </wizardpage> </wizard> attributes activetitlebarcolor type: color string specify background color of the window's titlebar when it is active (foreground).
HTMLBodyElement - Web APIs
Web › API › HTMLBodyElement
windoweventhandlers.onpageshow is an eventhandler representing the code to be called when the pageshow event is raised.
HTMLFrameSetElement - Web APIs
Web › API › HTMLFrameSetElement
windoweventhandlers.onpageshow is an eventhandler representing the code to be called when the pageshow event is raised.
Window: pageshow event - Web APIs
Web › API › Window › pageshow 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.
WindowEventHandlers - Web APIs
Web › API › WindowEventHandlers
windoweventhandlers.onpageshow is an eventhandler representing the code to be called when the pageshow event is raised.