文件操作 - tooltip.js
返回文件管理
返回主菜单
删除本文件
文件: /opt/dell/srvadmin/lib64/openmanage/apache-tomcat/webapps/omsa/oma/js/tooltip.js
编辑文件内容
//------------------------------------------------------------------------- // // DELL INC. PROPRIETARY INFORMATION // // This software is supplied under the terms of a license agreement or // nondisclosure agreement with Dell Computer Corporation and may not // be copied or disclosed except in accordance with the terms of that // agreement. // // Copyright (c) 1995-2001 Dell Inc. All Rights Reserved. // // Abstract/Purpose: // // // Environment: // Windows NT/2000, Linux, Netware // // Created/Version: // 2001 Jul 24 / $Revision: $ // // Author: // Christopher Poblete // // Last Modified By/On: // $Author: $ / $Date: $ // //------------------------------------------------------------------------- // verify if event objects are supported if (!document.layers && !document.all) { event = "nope"; } function doTooltip(evt, txt) { // enclose tip in nested tables for uniform 'tooltip' effect // customize here var tip = "<TABLE BGCOLOR=\"#000000\" WIDTH=\"280\" CELLSPACING=\"0\" CELLPADDING=\"1\" BORDER=\"0\">" + "<TR><TD>" + "<TABLE BGCOLOR=\"#FFFFCC\" WIDTH=\"100%\" CELLSPACING=\"0\" CELLPADDING=\"4\" BORDER=\"0\">" + "<TR><TD CLASS=\"tip\">" + txt + "</TD></TR>" + "</TABLE></TD></TR></TABLE>"; // check for object (i.e., layers or all) // for Netscape 4+ if (document.layers) { document.tooltip.document.write(tip); document.tooltip.document.close(); document.tooltip.left = evt.pageX + 8; document.tooltip.top = evt.pageY + 8; document.tooltip.visibility = "show"; } // for IE 4+ if (document.all) { document.all.tooltip.innerHTML = tip; document.all.tooltip.style.pixelLeft = evt.offsetX + 8; document.all.tooltip.style.pixelTop = evt.offsetY + 8; document.all.tooltip.style.visibility = "visible"; } } function hideTip() { if (document.layers) { document.tooltip.visibility = "hide"; } if (document.all) { document.all.tooltip.style.visibility = "hidden"; } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件