wbench.js

日付の表示パターンがindex.jsとは異なる。


function kn(dat)
{
    var dt=dat.split('*');
    var str=dt.join("/");
    var file=str+".html";
    window.open(file,"_self");
}

function knb(dat)
{
    var dt=dat.split('*');
    var str=dt.join("/");
    var file=str+".html";
    window.open(file);
}

function show(id)
{
    var obj=document.getElementById(id);
    obj.style.visibility='visible';
}

function hide(id)
{
    var obj=document.getElementById(id);
    obj.style.visibility='hidden';
}

function datestd()
{
    var now=new Date();
    var week=new Array("日","月","火","水","木","金","土");
    var min=now.getSeconds();
    var mm,dd,heisei;
    heisei=now.getFullYear()-1988;
    if( now.getMonth() < 9 )
    {
        mm = "0" + (now.getMonth()+1); 
    }
    else 
    { 
        mm = now.getMonth()+1; 
    }
    if( now.getDate() < 10 )
    { 
        dd = "0" + now.getDate(); 
    }
    else 
    { 
        dd = now.getDate(); 
    }
    var strRet = now.getFullYear() + "年" + mm + "月" + dd + "日(" + week[now.getDay()] + ") " + "平成" + heisei +"年";
    return strRet;
}

function pdd(dir,file)
{
    if(dir=="" || file=="") return;
    if(dir==undefined || file==undefined) return;
    var cmd = "edit/edt/pd" + dir + "/pd_"  + file + ".html";
    window.open(cmd);
}

function frg(dir,file)
{
    if(dir=="" || file=="") return;
    if(dir==undefined || file==undefined) return;
    var cmd= "../Fragment/Pdoc/pdc" + dir + "/pdc_"  + file + ".html";
    window.open(cmd);
}

function frg2(num)
{
    if(num=="") return;
    if(num==undefined) return;
    var field=new Array("Image/image","CupidArt/kwd/dailylog","CupidArt/nsm/ns05/items");
    var cmd= "../Fragment/" + field[num] + ".html";
    window.open(cmd);
}


function pdd(dir,file)
{
    var cmd= "error.html?pdd=" + dir + "_" + file;
    window.open(cmd,"_self");
}

function frg(dir,file)
{
    var cmd= "error.html?frg=" + dir + "_" + file;
    window.open(cmd,"_self");
}

function frg2(num)
{
    var cmd= "error.html?frg2=" + num;
    window.open(cmd,"_self");
}

wbench.css


@charset "Shift_JIS";
body {color:#000000;font-family:MS ゴシック,Osaka;font-size:9pt;background-color:#ffffff;margin:0px;}
table {width:100%;border-width:0px;border-spacing:1px;color:#000099;font-family:MS 明朝,Osaka;font-size:9pt;
       background-color:#ffffff;line-height:150%;}
img {border:none;}
a:link {color:#0000ff;text-decoration:none;}
a:visited {color:#0000ff;text-decoration:none;}
a:hover {color:#ff0000;text-decoration:underline;}
td {padding:2px;}
td.w25 {width:25%;}
.vt {vertical-align:top;text-align:left;}
.rt {text-align:right;}
.rbu {font-family:MS 明朝,Osaka;font-size:11pt;color:#0000ff;text-align:right;}
.enc {font-family:Times New Roman;font-size:10pt;}
.enr {color:#ff0033;font-family:Times New Roman;}
/* ★ポップアップメニュー用(他の場合ではstyle属性でwidthを指定) */
.ref {position:absolute;width:180px;color:navy;font-family:MS 明朝,Osaka;font-size:9pt;line-height:130%;
      background-color:#ffffe0;padding:3px;border:1px solid #339933;visibility:hidden;}
.win {position:absolute;color:navy;font-family:MS 明朝,Osaka;font-size:1em;line-height:130%;
      background-color:#ffffdd;padding:0.3em;border:1px solid #ff9933;visibility:hidden;border-radius:0.5em;}
.ref2 {position:absolute;width:200px;color:navy;font-family:MS 明朝,Osaka;font-size:9pt;line-height:130%;
       background-color:#ffffe0;padding:3px;border:1px solid #339933;visibility:hidden;}