JIM Control Usage Manual : Creating Dynamically Defined Inline Windows (iframes)
[ To Table Of Contents ]

A dynamically created inline window is one that is created and maintained by the JIM Control. That is, you do not need to create a predefined inline window or add attributes to the window arrays (the JIM Control does it for you). However, dynamic inline windows are restricted to supporting content that would go into an iframe. Please see the section below on how you would create a dynamically defined inline window:

wfrmpopulate(wtargetid, toptab, toptitle, typetab, deftab, defmax, defclose, frmid, frmscale, frmscroll, frmwidth, frmheight, frmborder, frmclass, frmsrc, topclass, windresize)
-> Use this function to create a dynamic inline window that can be automatically recreated when users return to your web site at a later date.

Hyper-Link Example (you could also call the function in your own javascript):
<a href="#" onmousedown="javascript:wfrmpopulate('number_five', 1, 'Dynamic Frame', 0, 1, 1, 1, 'thechg', 1, 'yes', 300, 300, 0, '', 'filler.html', 'css_title_class', 'yes');" class="tablinkahref">CREATE DYNAMIC INLINE WINDOW</a>

What The Fields Mean:
wtargetid ID of window to effect (this is the ID of the <DIV> holding the inline window)
toptab Use tab at top of window? 0 = no, 1 = yes. The header tab holds the title of the inline window as well as other options, if used.
toptitle Window Title
typetab Window Option Display Type. 0 = text, 1 = images. If you use one or more inline window options (such as close), you can indicate here whether to use text representations or images that you have created.
deftab Add default window size option? 0 = no, 1 = yes
defmax Add maximize window size option? 0 = no, 1 = yes
defclose Add close window option? 0 = no, 1 = yes
frmid ID of the IFRAME
frmscale Scale window to size of IFRAME? 0 = no, 1 = yes
frmscroll Allow IFRAME content to be scrollable? yes, no
frmwidth Width of the IFRAME
frmheight Height of the IFRAME
frmborder Whether or not the IFRAME has a visible border. 0 = no border, 1 = border
frmclass CSS class associated with the IFRAME
frmsrc URL src path loaded into IFRAME
topclass CSS class associated to title area. If nothing is specified, the tabtitle css class is referenced.
windresize Equals yes if window can be resized, otherwise set it to no.