The cswmShow function is used to make a menu Group visible.

Parameters

GroupID
The ID of the WebMenu Group that will be shown.

HTMLElementNameOrID
The HTML element's Name or ID attribute used to determine relative position.

Direction
The direction the group flies out from its position. Possible values are "above", "below", "left" or "right".

OffsetX
Offsets the group along the X from the HTML element. Can be a negative integer.

OffsetY
Offsets the group along the Y from the HTML element. Can be a negative integer.

Return Value

none

Example

The following code demonstrates how to invoke cswmShow from a mouse over event and offset it by 10 pixels along the X and 20 pixels along the Y axis.

[HTML]

<A href="/news/default.asp"
  onmouseover="cswmShow('News', 'nav_News', 'below', 10, 20);"
  onmouseout="cswmHide();">

  <IMG name="nav_News"
    id="nav_News"
    src="/images/nav_News.gif"
    width="64"
    height="32"
    alt=""
    border="0">
</A>

		

Copyright © Coalesys, Inc.