Skip to content

Commit 97412d9

Browse files
save file
1 parent a133872 commit 97412d9

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

utils/misc/nodejs-terminal/html/webcontainer-iframe/webcontainer-iframe.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
iframe
2424
{width:100%;height:100%;border:none}
2525

26+
#glass
27+
{width:100%;height:100%;background:lightblue}
28+
2629
input
2730
{font-size:16px;padding:5px 10px;box-sizing:border-box}
2831

@@ -56,6 +59,7 @@
5659
<div id=hldr>
5760

5861
<iframe></iframe>
62+
<div id=glass style='display:none'></div>
5963

6064
</div>
6165

@@ -146,6 +150,13 @@
146150

147151
callback.drag = function(e,dragtype){
148152
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+
149160
}//drag
150161
//:
151162

0 commit comments

Comments
 (0)