diff --git a/gui.js b/gui.js index 2ec0363..de509b1 100644 --- a/gui.js +++ b/gui.js @@ -89,6 +89,16 @@ var GUI = function() { var my, pmy, mx, pmx; + this.popout = function(e) { + + var w = window.open("index.html", + "mywindow", + "location=1,status=1,scrollbars=1,width=100,height=100"); + w.document.title = "gui-dat"; + console.log(w.document); + + } + var resize = function(e) { pmy = my; pmx = mx; diff --git a/index.html b/index.html index 0c5cddc..3fbd8b7 100644 --- a/index.html +++ b/index.html @@ -23,8 +23,10 @@ //