Define a new function outside Display by |
function LoadDisplay { |
top.setframe(this.pagepointer,this.pageframe); |
top.setframe(this.indexpointer,this.indexframe); |
} |
Add to Display definition after this.indexpointer = null; |
this.LoadDisplay = LoadDisplay; |
Now executing cps616.LoadDisplay(); // should load pages of CPS616 into their specified frames |
General Syntax is: |
Objectname.methodname = functionname; |
where Objectname is an existing Object |