17 lines
594 B
JavaScript
17 lines
594 B
JavaScript
var CineraClearElement = document.createElement("DIV");
|
|
CineraClearElement.style.position = "fixed";
|
|
CineraClearElement.style.height = "100%";
|
|
CineraClearElement.style.width = "100%";
|
|
CineraClearElement.style.zIndex = 64;
|
|
var CineraPlacedClear = document.body.appendChild(CineraClearElement);
|
|
var Col = getBackgroundColourRGB(CineraPlacedClear);
|
|
CineraPlacedClear.style.background = "rgb(" + Col.R + ", " + Col.G + ", " + Col.B + ")"
|
|
document.body.style.overflowY = "hidden";
|
|
|
|
function
|
|
FlipClear()
|
|
{
|
|
document.body.style.overflowY = null;
|
|
document.body.removeChild(CineraPlacedClear);
|
|
}
|