Welcome to WebmasterWorld Guest from 54.162.167.40

Forum Moderators: open

Message Too Old, No Replies

pop up window troubles

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

10+ Year Member



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 Jun 11, 2003 (gmt 0)

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



In your window.open command add:

status=yes,scrollbars=yes

HTH

 

Featured Threads

Hot Threads This Week

Hot Threads This Month