OnClientBrowserNavigate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Source) |
||
Line 11: | Line 11: | ||
*'''targetURL:''' | *'''targetURL:''' | ||
*'''isMainFrame:''' | *'''isMainFrame:''' | ||
==Source== | ==Source== | ||
The [[Element/Browser|browser]] element | |||
==Example== | ==Example== |
Revision as of 17:51, 26 May 2015
The event is executed when the browser loads a new page.
Parameters
string targetURL, bool isMainFrame
- targetURL:
- isMainFrame:
Source
The browser element
Example
addEventHandler ( "onClientBrowserNavigate" , root , function ( targetURL , isMainFrame ) if isMainFrame then outputChatBox ( "Navigating you to a new page" .. targetURL ) end end )
See Also
- onClientBrowserCreated
- onClientBrowserCursorChange
- onClientBrowserDocumentReady
- onClientBrowserInputFocusChanged
- onClientBrowserLoadingFailed
- onClientBrowserLoadingStart
- onClientBrowserNavigate
- onClientBrowserPopup
- onClientBrowserResourceBlocked
- onClientBrowserTooltip
- onClientBrowserWhitelistChange