[Help] [Navbox] Load URL:

Execute Javascript [...]:


Help
  • Press tab in top textbox to execute its contents
  • Alt+C to set focus to the code box
  • L(+tab) to show last code
  • Javascript will be copied to the second box regardless
  • Commands provided by this system:
    • CreateWindow(url, id, title, height, width, top, left); // Like the "open" button. Only url is necessary.
    • WinMove(id, x, y); // Move a window by id, resize desktop accordingly
    • WinSize(id, x, y); // Doesn't resize the desktop
    • msg(text); // shortcut to window.alert();
    • $(id); // document.getElementById();
    • $make(tagtype, id); // return a new html element
    • $del(id); // remove element from document tree
    • $text(text); // returns a text node with text in it
    • $input(type, name, value, id); // returns a form input. Type and name are required
    • AddToHeight(id, pixels); // Add to an elements height, must already have a pixel value
    • AddToWidth(id, pixels);
    • AddToTop(id, pixels); // Can also use AddToY();
    • AddToLeft(id, pixels); // Can also use AddToX();