Search completed in 1.66 seconds.
11 results for "onpageshow":
More Wizards - Archive of obsolete content
ArchiveMozillaXULTutorialMore 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
WebAPIWindow
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
ArchiveAdd-onsAdd-on SDKHigh-Level APIstabs
onpageshow function a callback function that will be registered for the 'pageshow' event.
Attribute (XUL) - Archive of obsolete content
ArchiveMozillaXULAttribute
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
ArchiveMozillaXULIndex
239 onpageshow xul attributes, xul reference no summary!
Creating a Wizard - Archive of obsolete content
ArchiveMozillaXULTutorialCreating a Wizard
a third option is to use the onpagehide and onpageshow attributes on the wizardpage element.
wizard - Archive of obsolete content
ArchiveMozillaXULwizard
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
WebAPIHTMLBodyElement
windoweventhandlers.onpageshow is an eventhandler representing the code to be called when the pageshow event is raised.
HTMLFrameSetElement - Web APIs
WebAPIHTMLFrameSetElement
windoweventhandlers.onpageshow is an eventhandler representing the code to be called when the pageshow event is raised.
Window: pageshow event - Web APIs
WebAPIWindowpageshow 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
WebAPIWindowEventHandlers
windoweventhandlers.onpageshow is an eventhandler representing the code to be called when the pageshow event is raised.