diff --git a/apps/windowgen.html b/apps/windowgen.html new file mode 100644 index 0000000..15e19f8 --- /dev/null +++ b/apps/windowgen.html @@ -0,0 +1,24 @@ + + + + + + Document + + +
+ + + + + +
+ + + + \ No newline at end of file diff --git a/drag.js b/drag.js index 745cb51..ea02159 100644 --- a/drag.js +++ b/drag.js @@ -133,12 +133,12 @@ function createWindow(url, title, width, height) { document.body.appendChild(win); } -/* -
-
-

Slimekoban

- -
- -
- */ \ No newline at end of file +/* SUBWINDOW CREATE WINDOW */ +window.onmessage = function(e) { + const dat = e.data.split("|"); + + console.log(dat) + if (dat[0] == "WIN") { + createWindow(dat[1],dat[2],dat[3]+"px",dat[4]+"px") + } +} \ No newline at end of file diff --git a/index.html b/index.html index 8194e86..d8297ba 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ - +
@@ -28,6 +28,7 @@ +

PossiblyAxolotl Directory