script.js

来自「xen虚拟机源代码安装包」· JavaScript 代码 · 共 32 行

JS
32
字号
function update( objRef, text ) {    if ( document.all || document.getElementById ) {        obj = ( document.getElementById )? document.getElementById( objRef ) : document.all( objRef );        obj.innerHTML= text    }}function buttonMouseOver( objRef ) {    if ( document.all || document.getElementById ) {        obj = ( document.getElementById )? document.getElementById( objRef ) : document.all( objRef );        objRef.style.background = "white";    }}function buttonMouseOut( objRef ) {    if ( document.all || document.getElementById ) {        obj = ( document.getElementById )? document.getElementById( objRef ) : document.all( objRef );        objRef.style.background = "grey";    }}function doOp( op ) {    document.forms[0].op.value = op    document.forms[0].submit()}function doOp2( op, args ) {    document.forms[0].op.value = op    document.forms[0].args.value = args    document.forms[0].submit()}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?