mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
32 lines
945 B
JavaScript
Executable File
32 lines
945 B
JavaScript
Executable File
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()
|
|
}
|