DIR : /home/kozerus/public_html/ctx.html
/home/kozerus/public_html
<head>
<title>ctx.html 20200324_1046</title>
<script id="script_globals" >
var list = []; var listb = []; var listw = []; var listm = [];
</script>
<script id="script_ctxnew" >
function ctxnew(args) {
alert( "BUGS_200 ctxnew args="+args );
list = `list list1 list2 list3`;
listb = `listb listb1 listb2 listb3`;
listw = `listw listw1 listw2 listw3`;
listm = `listm listm1 listm2 listm3`;
alert( "BUGS_200 ctxnew list="+list );
alert( "BUGS_201 ctxnew listb="+listb );
alert( "BUGS_201 ctxnew listw="+listw );
alert( "BUGS_201 ctxnew listm="+listm );
var htmout_ctxnew = "";
htmout_ctxnew += '<div id="div_ctxnew" ><h3>div_ctxnew</h3></div>';
thmout_ctxnew += 'list len='+list.length+' '+list;
thmout_ctxnew += 'listb len='+listb.length+' '+listb;
thmout_ctxnew += 'listw len='+listw.length+' '+listw;
thmout_ctxnew += 'listm len='+listm.length+' '+listm;
var htmout_canvas = "";
htmout_canvas += '<canvas id="canvas_list" onclick="window.open(\'/?list\');return false;" ></canvas>';
htmout_canvas += '<canvas id="canvas_listb" onclick="document.location.href='/?q=listb\';return false;" ></canvas>';
htmout_canvas += '<canvas id="canvas_listw" onclick="document.location.href='/?q=listw\';return false;" ></canvas>';
htmout_canvas += '<canvas id="canvas_listm" onclick="document.location.href='/?q=listm\';return false;" ></canvas>';
htmout_canvas += '<canvas id="canvas_listb" ></canvas>';
htmout_canvas += '<canvas id="canvas_listw" ></canvas>';
htmout_canvas += '<canvas id="canvas_listm" ></canvas>';
document.getElementById('div_ctx').innerHTML = htmout_ctx;
document.getElementById('div_canvas').innerHTML = htmout_ctx;
return(htmout_ctx);
}
</script>
<script id="script_ctxgo" >
function ctxgo(args) {
alert( "BUGS_300 ctxgo args="+args );
var htmout_ctx = "";
var htmout_ctx += '<div id="div_ctx" ><h3>div_ctx</h3></div>';
document.getElementById('div_ctx').innerHTML = htmout_ctx;
return(htmout_ctx);
}
</script>
<script id="script_startup" >
function startup(args) {
alert( "BUGS_100 startup" );
var htmmsg = "";
htmmsg += '<div id="div_msg" ><h3>div_msg</h3></div>';
htmmsg += ctxnew("");
htmmsg += ctxgo("");
document.getElementById('div_msg').innerHTML = htmmsg;
return(htmmsg);
}
</script>
<style id="style_startup" >
body{ background: wheat; }
</style>
</head>
<body odload="startup('');return false;" >
<img id="img_ko" src="ko.png" onclick="window.open('ctx.html?ko');return false;" height=50 border=0>
<canvas id="canvas_ko" src="ko.png" onclick="window.open('ctx.html?ko=canvas_ko');return false;" height=50 width=100 color=black border=0></canvas>
<canvas id="canvas_ok" src="ok.png" onclick="window.open('ctx.html?ok=canvas_ok');return false;" height=50 width=100 color=white border=0></canvas>
<img id="img_ok" src="ok.png" onclick="window.open('ctx.html?ok');return false;" height=50 border=0>
<!--
<canvas id="canvas_ok" src="ok.png" onclick="window.open('ctx.html/?ok=canvas');return false;" height=50 border=0></canvas>
-->
<div id="div_msg"><h1>div_msg</h1></div>
<div id="div_ctx"><h1>div_ctx</h1></div>
<div id="div_canvas"><h1>div_canvas</h1></div>
</body>
</html>
//