1 parent a133872 commit 97412d9Copy full SHA for 97412d9
1 file changed
utils/misc/nodejs-terminal/html/webcontainer-iframe/webcontainer-iframe.html
@@ -23,6 +23,9 @@
23
iframe
24
{width:100%;height:100%;border:none}
25
26
+ #glass
27
+ {width:100%;height:100%;background:lightblue}
28
+
29
input
30
{font-size:16px;padding:5px 10px;box-sizing:border-box}
31
@@ -56,6 +59,7 @@
56
59
<div id=hldr>
57
60
58
61
<iframe></iframe>
62
+ <div id=glass style='display:none'></div>
63
64
</div>
65
@@ -146,6 +150,13 @@
146
150
147
151
callback.drag = function(e,dragtype){
148
152
debug('callback.drag',dragtype);
153
+ if(dragtype=='drag-start'){
154
+ glass.style.display = 'block';
155
+ }
156
+ if(dragtype=='drag-end'){
157
+ glas.style.display = 'none';
158
159
149
160
}//drag
161
//:
162
0 commit comments