forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrowserOver.xml
More file actions
44 lines (44 loc) · 2.52 KB
/
Copy pathbrowserOver.xml
File metadata and controls
44 lines (44 loc) · 2.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<doc>
<legacy_id>3050</legacy_id>
<name>browserOver</name>
<type>message</type>
<syntax>
<example>browserOver <i>instanceId, elementId</i></example>
<example>XBrowser_Over <i>elementId, instanceId</i></example>
</syntax>
<library>Browser Library</library>
<objects>
<card/>
</objects>
<synonyms>
<synonym>XBrowser_Over</synonym>
</synonyms>
<classification>
</classification>
<references>
<command tag="revBrowserSet">revBrowserSet Command</command>
<message tag="browserOut">browserOut Message</message>
<message tag="browserClick">browserClick Message</message>
<function tag="revBrowserOpen">revBrowserOpen Function</function>
</references>
<history>
<introduced version="2.8.1">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
</platforms>
<classes>
<desktop/>
</classes>
<security>
<network/>
</security>
<summary>Sent when the mouse moves over a named html element in a browser</summary>
<examples>
<example>on browserOver pInstanceId, pElementId</p><p> set the text of field "ElementId" of me to pElementId</p><p>end browserOver</example>
</examples>
<description>
<p>The <b>browserOver</b> message is sent to the current card of a stack containing a browser object when the mouse is moved over an html element with an "id" attribute in the browser.</p><p/><p><b>Parameters:</b></p><p>The <i>instanceId</i> is the integer identifier of a brower object</p><p>The <i>elementId</i> is the id of the html element that the mouse is moving over</p><p/><p><b>Note:</b> The <b>browserOver</b> message is only sent if advanced browser messages are turned on. To turn on advanced browser messages use the following command:</p><p/><p><command tag="revBrowserSet">revBrowserSet</command> <instanceId>, "messages", "true"</p><p/><p><b>Note:</b> The <b>browserOver</b> message is supported on Windows and OS X systems later than 10.4. On older OS X systems the message is not sent due to lack of system support from the underlying browser object.</p><p/><p>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 is over does not have an id, then the <i>elementId</i> parameter will be empty.</p><p/><p><b>Note:</b> For general information on using the browser library, see the notes in the <function tag="revBrowserOpen">revBrowserOpen function</function> reference.</p>
</description>
</doc>