View Single Post
  #5  
Old 07-14-2007, 12:16 AM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
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.
__________________

Coming soon (Hopefully:P)
Reply With Quote