NameCtrl.ShowOOUI Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Displays an on-object UI for a specified user name and is typically used with the onmouseover event.

expression.ShowOOUI(bstrName, iInputType, xLeft, yTop)

Parameters

expression

An expression that returns a NameCtrl Control object.

bstrName

Required String. Contains the logon name of the user (for example, someone@example.com).

iInputType

Required Long. Indicates whether the user moved the pointer over a name (in other words, whether the HTML <DIV> tag on the page received the onmouseover event) or used the keyboard to put focus on the name (the HTML <DIV> tag received the onfocusin event).

xLeft

Required Long. Specifies in pixels the x-coordinate of the location to display the on-object UI relative to the top-left corner of the application window.

yTop

Required Long. Specifies in pixels the y-coordinate of the location to display the on-object UI relative to the top-left corner of the application window.

Example

If a name is in a cell of a top-level table, and the body of the page has id = main, the top coordinate is:

obj.offsetTop + obj.offsetParent.offsetTop – main.scrollTop