/**//***********************************
* 使用說明:
* 先把本控制項包含到頁面
*
* 控制項呼叫函數:_SetTime(field)
* 例如
*
********************** **************/
var str = "";
document.writeln("
");
str = "/u65f6 /u5206 /u79d2
";
document.writeln(str);
var _fieldname;
function _SetTime(tt) {
_fieldname = tt;
var ttop = tt.offsetTop; //TT
var tleft = tt.offsetLeft; //TT控制的定位點寬
while (tt = tt.offsetParent) {
offsetLeft;
}
document.all._contents.style.top = ttop thei 4;
document.all._contents.style.left = tleft ;
}
function _select() {
_fieldname.value = document.all._hour.value ":" document.all._minute.value ":" document.all._second.value > document.all._contents.style.visibility = "hidden";
}