ACP and Browsers: Setting up an Example - The Master Page
(Page 2 of 4 )
All the content for the windowPhaseSimpleExample.htm file is the master page. The master page is at level zero in the tree.
Skeleton of the Master Page
This is the skeleton of the master page:
//the Backward Propagation Code
//statements to open the next window
This is page 0<br />
<button type="button" onclick="openWin1()">Open Page 1</button>
var storeVarMaster = "It worked!";
window.name = "master";
//code with Ajax to prepare the next page which is a window
Let us look at the skeleton code from top to bottom.
The Main HTML Tags
The HEAD Element
The next function is openWin1(). There is a button in the BODY element of the page. When this button is clicked, this function is called; it opens the next window in the session.
The BODY Element
Let us now look at the element contents in detail.