Error getting tags :
error 404Error getting tags :
error 404 browserBeforeNavigateFrame | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
browserBeforeNavigateFrame
Basics
Expander triangle
Type
Message
Syntax

browserBeforeNavigateFrame instanceId, url

XBrowser_BeforeNavigateFrame url, instanceId

Introduced
2.8.1
Environment
Desktop
Platform Support
Mac OS X,Windows
Security
Network
Summary
Sent when a browser is about to navigate to a new url in a frame
Examples

on browserBeforeNavigateFrame pInstanceId, pUrl
if not browserFrameNavAllowed() then
global browserCancel
put true into browserCancel
end if
end browserBeforeNavigateFrame

Additional Comments
Expander triangle

The browserBeforeNavigateFrame message is sent to the current card of a stack containg a browser object when the browser object is about to navigate to a new url in a frame. i.e. a change in the url in the target browser has been requested but not yet actioned.

If the target is the main frame of the browser then the browserBeforeNavigate message is sent instead.

To prevent the navigation occuring, set the global variable browserCancel to true

Parameters

The url is the new url that is about to be navigated to in the frame

The instanceId is the integer identifier of the browser object

Note: For general information on using the browser library, see the notes in the revBrowserOpen function reference.

User Comments
Expander triangle