JIM Control Usage Manual : Controlling an Inline Window (default size, maximize, close)
[ To Table Of Contents ]

With a predefined inline window you may not wish to have a header bar at the top of it (which would show the title of the inline window as well as other inline window options). When this is the case, you can still offer a user of your web site the ability to perform inline window actions (such as closing the inline window). Simply use the functions below as may be needed:

wdactivate(wtargetid, walignx, waligny)
-> Use this function to show an inline window along one or more axis where the mouse is located.

Hyper-Link Example (you could also call the function in your own javascript):
<a href="#" onmousedown="javascript:wdactivate('number_one', 0, 0);" class="tablinkahref">SHOW</a>

What The Fields Mean:
wtargetid ID of window to effect (this is the ID of the <DIV> holding the inline window)
walignx Align window to user's mouse X position? 0 = no, 1 = yes
waligny Align window to user's mouse Y position? 0 = no, 1 = yes


wdeactivate(wtargetid)
-> Use this function to close an inline window.

Hyper-Link Example (you could also call the function in your own javascript):
<a href="#" onmousedown="javascript:wdeactivate('number_one');" class="tablinkahref">HIDE</a>

What The Fields Mean:
wtargetid ID of window to effect (this is the ID of the <DIV> holding the inline window)


wmaxwin(wtargetid)
-> Use this function to maximize the size of an inline window.

Hyper-Link Example (you could also call the function in your own javascript):
<a href="#" onmousedown="javascript:wmaxwin('number_one');" class="tablinkahref">MAXIMIZE</a>

What The Fields Mean:
wtargetid ID of window to effect (this is the ID of the <DIV> holding the inline window)


wdefwin(wtargetid)
-> Use this function to restore the size of an inline window to the default values.

Hyper-Link Example (you could also call the function in your own javascript):
<a href="#" onmousedown="javascript:wdefwin('number_one');" class="tablinkahref">DEFAULT SIZE</a>

What The Fields Mean:
wtargetid ID of window to effect (this is the ID of the <DIV> holding the inline window)