When I use this window.open('http://test.mygamesworld.com/index.php?action=popfile&fileid=230', '', 'width=800, height=300'); Code (markup): to open a popup, the new window has width which is not equal to 800 but somewhat smaller(around 400px). This happens in firefox but works perfectly in IE. can anyone solve this problem?? regards Nwk
Cannot replicate the problem: <a href='#' onclick="window.open('http://test.mygamesworld.com/index.php?action=popfile&fileid=230', '', 'width=800,height=300');return false">OPEN</A> Code (markup):
Related or not to your problem, always use the units (width=800px instead of width= 800). IE does not care, but FF does, most of all if you are using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">