homepage Welcome to WebmasterWorld Guest from 50.19.206.49
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
pop up window troubles
deltron23




msg:1490092
 2:41 pm on Jun 11, 2003 (gmt 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);
}

 

BlobFisk




msg:1490093
 2:45 pm on Jun 11, 2003 (gmt 0)

In your window.open command add:

status=yes,scrollbars=yes

HTH

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved