Javascript openFrame - jcobban/Genealogy GitHub Wiki
function function openFrame(name, url, side)
Up: Javascript Programming Guide
Source: /jscripts/util.js
The function displays the page generated by a URL in an IFRAME occupying either the right or the left half of the window.
parameter | description |
---|---|
name | name of the frame so it can be referenced, and over-written, by other calls to openFrame or window.openWindow |
url | URL of the page to display, if null the current contents of the frame are left unchanged, but the dimensions may be changed if the dimensions of the window have changed. |
side | which half of the browser window to open in: "left" or "right" |
For example while editing an individual if you request to edit the families in which that individual was a spouse then the edit window for those families is displayed on top of the right hand half of the window in which the individual is being edited.
Next: function closeFrame()