|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/mguerinweb/DBAdmin/scripts/ |
Upload File : |
window.onerror = function(){;};
function newTableToggle(idTD, idImg){
var td = document.getElementById(idTD);
var img = document.getElementById(idImg);
if(td != null && img != null){
var isHidden = td.style.display == "none" ? true : false;
img.src = isHidden ? "images/icon_hide.gif" : "images/icon_show.gif";
img.alt = isHidden ? "Hide" : "Show";
td.style.display = isHidden ? "" : "none";
}
}
function DBA_popupWindow(url, target, width, height){
var features;
features = 'location=0,menubar=0,scrollbars,resizable,dependent,status=0,toolbar=0,width=' + width + ',innerWidth=' + width + ',height=' + height + ',innerHeight=' + height;
if (window.screen) {
var ah = screen.availHeight - 30;
var aw = screen.availWidth - 10;
var xc = (aw - width) / 2;
var yc = (ah - height) / 2;
features += ",left=" + xc + ",screenX=" + xc;
features += ",top=" + yc + ",screenY=" + yc;
}
var wnd = window.open(url, target, features);
wnd.focus();
}
function copyToClipboard(id){
// Copy displayed code to user's clipboard.
var textRange = document.body.createTextRange();
textRange.moveToElementText(id);
textRange.execCommand("Copy");
alert("All necessary code has been copied to your clipboard");
}