T
tshad
My status window is showing in a small XP window I am opening up even though
I have "Status=no"
function OpenLogoPreviewWindow()
{
window.open('logoDisplay.htm','myWindow','menubar=no,toolbar=no,directories=no,resizable=no,scrollbars=no,location=no,status=no');}In the script, I have to add about 50 to handle the size of the statuswindows:function entry(){ document.LogoDisplay.src = "..\\..\\uploads\\" +opener.document.getElementById('Logo').innerHTML; id = document.getElementById("LogoDisplay"); w = id.width+10; h = id.height+50; window.resizeTo(w,h); if (screen) { x = (screen.availHeight - h)/2; y = (screen.availWidth - w)/2; } window.moveTo(y,x); window.focus();}But in W2K professional, the status window is gone which is what I wanted,but because of my extra size of 50 it shows blank area where the statuswindow should be. What is the best way to handle this?What I have done to solve the problem is to change the status=no tostatus=yes and just have it there for both.Thanks,Tom
I have "Status=no"
function OpenLogoPreviewWindow()
{
window.open('logoDisplay.htm','myWindow','menubar=no,toolbar=no,directories=no,resizable=no,scrollbars=no,location=no,status=no');}In the script, I have to add about 50 to handle the size of the statuswindows:function entry(){ document.LogoDisplay.src = "..\\..\\uploads\\" +opener.document.getElementById('Logo').innerHTML; id = document.getElementById("LogoDisplay"); w = id.width+10; h = id.height+50; window.resizeTo(w,h); if (screen) { x = (screen.availHeight - h)/2; y = (screen.availWidth - w)/2; } window.moveTo(y,x); window.focus();}But in W2K professional, the status window is gone which is what I wanted,but because of my extra size of 50 it shows blank area where the statuswindow should be. What is the best way to handle this?What I have done to solve the problem is to change the status=no tostatus=yes and just have it there for both.Thanks,Tom