Welcome to WebmasterWorld Guest from 184.72.177.182

Forum Moderators: open

Message Too Old, No Replies

pop up window troubles

     
2:41 pm on Jun 11, 2003 (gmt 0)

New User

10+ Year Member

joined:Mar 5, 2003
posts:38
votes: 0


How can add a status bar and scrollbar to this script?:

function popUp() {
if (document.all ¦¦ document.layers) {
var w = screen.availWidth;
var h = screen.availHeight;
}

var popW = 800, popH = 570; //485
var leftPos = (w-(popW+10))/2, topPos = (h-(popH+20))/2;

window.open('index.html','popup_mis','width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos);
}

2:45 pm on June 11, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member blobfisk is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 25, 2002
posts:3185
votes: 0


In your window.open command add:

status=yes,scrollbars=yes

HTH