trouble?
thanks, I figured out how to hide it:
PHP Code:
this.gcheight = screenheight + Serverlist_TaskBar.height;
Serverlist_TaskBar.hide();
GraalControl.height = this.gcheight;
Now, I want to restore it when F1 is pressed
PHP Code:
function onKeyPressed() {
if (params[0] == 112) {
Serverlist_TaskBar.show();
GraalControl.height -= ServerList_TaskBar.height;
}
}
Ideally I want a way to in there to check whether the serverlist is visible, but I don't know the names for the controls in the serverlist.