advanced.includePages.html

<HTML>

<HEAD>

<script>var dFrameFilePath = '../../../'</script>

<script language="Javascript" src="../../../lib/dFrameAPI.js"></script>

<script language="Javascript">

//Style

DFrameAPI.include('styles/blue/styleBlue.js')

//globals

var dFrameLeft

DFrameAPI.onLoad = function(){

//Create the first dFrame

baseAll = new DFrame([0, 0, 100, 100], 'advanced.includePages.html', dFrameStyle);

baseAll.addButton('Insert example.booksSample.html', 'insertPage("./example.booksSample.html")');

baseAll.addButton('Insert advanced.XML.html', 'insertPage("./advanced.XML.html")');

baseAll.addButton('Insert advanced.includePages.html', 'insertPage("./advanced.includePages.html")');

baseAll.show()

}

function insertPage(url) {

if (!dFrameLeft) {

dFrameLeft = new DFrame([3, 3, 97, 97], dFrameStyle, baseAll);

}

dFrameLeft.setTitle('Content: '+url)

dFrameLeft.setURL(url)

}

</script>

</HEAD>

</HTML>