westdc-zf1/htdocs/js/viewdetail.js

9 lines
396 B
JavaScript
Raw Normal View History

2009-03-06 03:20:46 +00:00
function viewdetail(){
if (document.getElementById("detailbutton").value=="+显示详细元数据") {
document.getElementById("detailbutton").value="-关闭详细元数据显示";
document.getElementById("viewdetail").style.display="block";
} else {
document.getElementById("detailbutton").value="+显示详细元数据";
document.getElementById("viewdetail").style.display="none";
}
}