introduction2.html

<HTML>

<HEAD>

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

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

<script language="Javascript">

//Global variables

var baseAll

//Style

DFrameAPI.include('./introduction/styles.js', 'A')

DFrameAPI.onLoad = function() {

baseAll = new DFrame([2, 2, 98, 98], 'baseAll', dFrameStyle)

baseAll.addTaskBar()

baseAll.addTaskMenu('List of pages')

baseAll.addToTaskBars(false)

baseAll.addToTaskMenus(false)

baseAll.addButton('<br>Hello<br>&nbsp;', 'baseAll.addText("Hello world !", [75, 5, 95, 25], 2)')

var index = new DFrame([2, 2, 25, 98], dFrameStyle, baseAll)

index.addToTaskBars(false)

index.addToTaskMenus(false)

index.setURL('./introduction/index.html')

index.setTarget('openPage()')

index.setMultipleTarget(true)

}

function openPage() {

var page = new DFrame([27, 2, 70, 70], 'page', dFrameStyle, baseAll)

page.setTitleAsHTMLTitle()

page.setIndentX(50)

page.setIndentY(50)

var bar = page.addBar()

bar.addButton('Close', 'thisDFrame.closeFrame()')

return page

}

</script>

</HEAD>

</HTML>