setFreezeXXXSide.html

<HTML>

<HEAD>

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

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

<script language="Javascript">

//Style

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

DFrameAPI.onLoad = function(){

var dFrame = new DFrame([10, 10, 90, 90], 'setFreezeXXXSide.html', dFrameStyle)

barStyle.setBackgroundColor('yellow')

barStyle.setAutoWidth('')

barStyle.setAutoHeight('')

barStyle.setFreezeTopSide(true)

barStyle.setFreezeLeftSide(true)

dFrame.addBar('floating', barStyle, [10, 10, 30, 30])

var dFrame2 = new DFrame([0, 0, 90, 90], 'Added on dFrame', dFrameStyle, dFrame)

dFrame2.show()

}

</script>

</HEAD>

</HTML>