Skip to content

Commit 72f887e

Browse files
save file
1 parent 1d72db3 commit 72f887e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

utils/editors/js-console/html/output-console/v3.0/output-console-v3.0.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@
7979
wrap
8080
</span>
8181

82+
<span id=iframe-show class=radio>
83+
<input type=checkbox checked>
84+
iframe
85+
</span>
86+
8287
<button id=kill>kill</button>
8388

8489
</div>
@@ -141,6 +146,7 @@
141146
var chk = {};
142147
var btn = {};
143148
btn.console = {};
149+
btn.iframe = {};
144150
obj.on = {};
145151

146152

@@ -183,6 +189,8 @@
183189

184190
chk.wrap = $.chkbox(shadow,'#word-wrap',btn.wrap);
185191

192+
chk.iframe = $.chkbox(shadow,'#iframe-show',btn.iframe.show);
193+
186194
$(shadow,'#kill').onclick = btn.kill;
187195

188196

@@ -236,6 +244,17 @@
236244
}//kill
237245

238246

247+
btn.iframe.show = function(chk){
248+
249+
if(chk.checked){
250+
iframe.style.display = '';
251+
}else{
252+
iframe.style.display = 'none';
253+
}
254+
255+
}//show
256+
257+
239258
//:
240259

241260

0 commit comments

Comments
 (0)