From e0c355ad82dc13feecca51b552bd24101067c780 Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange Date: Fri, 24 Nov 2023 19:53:10 -0600 Subject: [PATCH] We should improve windowing somewhat. Yet you participate in windowing, curious! I am very intelligent. --- views/projects/hex/index.html | 5 + views/projects/hex/scripts/index.js | 3 +- views/projects/index.html | 23 +- views/projects/public/projects.json | 20 + views/projects/scripts/data_get_projects.js | 25 ++ views/projects/woz/index.html | 5 + views/projects/woz/scripts/index.js | 5 +- views/scripts/windows.js | 414 +++++++++++++++++--- views/styles/normal.css | 11 +- views/styles/style.css | 10 + views/styles/windows.css | 70 ++-- 11 files changed, 480 insertions(+), 111 deletions(-) create mode 100644 views/projects/public/projects.json create mode 100644 views/projects/scripts/data_get_projects.js diff --git a/views/projects/hex/index.html b/views/projects/hex/index.html index 6cdb80b..f0eb559 100755 --- a/views/projects/hex/index.html +++ b/views/projects/hex/index.html @@ -78,5 +78,10 @@ + diff --git a/views/projects/hex/scripts/index.js b/views/projects/hex/scripts/index.js index 7ae5958..4cb12be 100755 --- a/views/projects/hex/scripts/index.js +++ b/views/projects/hex/scripts/index.js @@ -49,8 +49,7 @@ function averageColors(hex) { } function initDocument(hx, w, h, t) { - const newWindow = new WindowObject( - window.parent.document.querySelector("#WindowHolder"), + const newWindow = window.top.manager.createWindow( ` Result diff --git a/views/projects/index.html b/views/projects/index.html index 4f3165b..2f592d3 100755 --- a/views/projects/index.html +++ b/views/projects/index.html @@ -5,8 +5,8 @@ Project Windows - +