Chrome

P

PWS

The javascript function:

function OpenWin(WinName,width,height)
{
var left = 0
var top = 0;
if (window.innerWidth != undefined)
{
left = (window.innerWidth/2) - width/2;
top = (window.innerHeight/2) - (height+15)/2;
}
else if (window.screen)
{
left = (window.screen.availWidth/2) - width/2;
top = (window.screen.availHeight/2) - (height+15)/2;
}
var options = ",width=" + width + ",height=" + (height+15) + ",left="
+ left
+ ",top=" + top;
window.open("", WinName ,"toolbar=0,scrollbars=0" + options);
var a = window.setTimeout("document.SelectTeam.submit();",500);
}

When I use this in IE6 I do not get an address line, but in IE7 I do,
which throws out my window sizing. How do I make the function work
under both versions of IE?
 
P

PWS

I am sorry I do not understand your advice, could you be a little more
verbose so I can understand your assistance.

Many thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top