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

browserClick instanceId, elementId

XBrowser_Click elementId, instanceId

Introduced
2.8.1
Environment
Desktop
Platform Support
Windows
Security
Network
Summary
Sent when the mouse is clicked in a browser object.
Examples

on browserClick pInstanceId, pElementId
if pElementId is "help" then
helpShowPopup
end if
lickbrowserClick

Additional Comments
Expander triangle

The browserClick message is sent to the current card of a stack containing a browser object when the mouse is clicked in the browser.

Parameters

The instanceId is the integer identifier of the browser object

The elementId is the id of the html element that was clicked

Note

The browserClick message is only sent if advanced browser messages are turned on. To turn on advanced browser messages use the following command:

revBrowserSet <instanceId>, "messages", "true"

The browserClick message is currently only available on Windows.

The id of an html element is the element's "id" attribute. For example <div id="navbar">. As this attribute is optional in most cases, not all html elements will have an id. If the html element that the mouse was clicked over does not have an id, then the elementId parameter will be empty.

Note: The browserClick message is not sent on OS X due to lack of system support in the underlying browser object.

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

User Comments
Expander triangle
User thumbnail
Robert Maniquant
StarStarStarStarStar
May 23, 2010
Is browserClick still not working on mac os x 10.4 and later? Question is raised because browserOver is described as working on both platforms and is acting pretty close!