Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- handy, generic javascript coding


tedster - 4:15 am on May 2, 2001 (gmt 0)


Unfortunately Netscape and IE use differently named parameters for window positioning, so you have to include both sets. Also, the results may be inconsistent from version to version, I've found. That being said, here's what you need. Change the function declaration in the HEAD or external js file to this:

function cPop(url, www, hhh) {window.open(url,"popup",'width=' + www + ',height=' + hhh + ',left=50,top=50,screenX=50,screenY=50');
}

No changes are needed in the BODY link.


Thread source:: http://www.webmasterworld.com/javascript/567.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com