Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

customize() is a special function defined within a Genie skin. It is typically placed into the following IFS file:

...

Code Block
javascript
javascript

function customize() {
  // Set specific container height if 132x27 mode is detected
  if (pui.genie.displaySize == 132) {
    pui.genie.middleDiv.style.height = "640px";
    getObj("5250").style.position = "absolute";
    var position = (screen.width - 1060) / 2;
    if (position < 0) position = 0;
    getObj("5250").style.left = position + "px";
  }
  else {
    if (pui.genie.middleDiv != null) {
      pui.genie.middleDiv.style.height = "";
      getObj("5250").style.position = "relative";
      getObj("5250").style.left = "";
    }
  }
}

...