The cswmShowInFrame function is used to make a menu Group visible in a frame.

Parameters

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

OffsetX
The absolute X page coordinate in the frame for the menu to appear.

OffsetY
The absolute Y page coordinate in the frame for the menu to appear..

Return Value

none

Example

The following code demonstrates how to invoke cswmShowInFrame from a mouse over event in FrameA and make the Group visible in FrameB.

[HTML FrameSet]

<frameset rows="18, *" border="0">
	<frame name="FrameA" id="FrameA" src="FrameA.htm">
	<frame name="FrameB" id="FrameB" src="FrameB.htm">
</frameset>

[HTML FrameA]

<A href="/news/default.asp"
  onmouseover="if(top.FrameB.cswmShowInFrame){top.FrameB.cswmShowInFrame('News', 0, 0);}"
  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.