Posted:
Wed Feb 21, 2007 1:17 am
by Ackilles
Ah ha I found what i was doing wrong. I was trying to call dame of the DIV not the name of the Var for the window. Sorry kinda new to JavaScript lol.
I did stumble upon another thing tho. If you close the window with the close button then try to use show() it doesn't work.
I solved this by changing line 19158 to
this.divCloseButton.onclick = function(){ return DHTMLSuite.variableStorage.arrayOfDhtmlSuiteObjects[ind].hide(); }
Not to sure if thats a proper solution but it works.
Posted:
Wed Feb 21, 2007 1:27 am
by Batalf
You are right. I was a little bit fast earlier today.
The correct methods to use(available in the live js file) are
* show() - to show the window
* close() - to hide window
and the attribute I showed you earlier to hide it initially.