PDA

View Full Version : Windows XP / Javascript conflict


goodoyster
03-11-2003, 10:20 PM
I have used the following code to open a window onclick:

function openWindow(url, w, h)
{
var options = "width=" + w + ",height=" + h + ",";
options += "resizable=yes,scrollbars=yes,status=NO,";
options += "menubar=no,toolbar=no,location=no,directories=no";
var newWin = window.open(url, 'newWin', options);
newWin.focus();
}


It works fine for me using Win200 Pro, IE6. However, some of the site users are using Win XP (IE6) and the window will not open. I have checked all the security and privacy settings on the user's machine, and their IE6 setup is identical to mine. The only difference between their computer and mine is the OS - they use XP Pro, I have 2000 Pro. These pages have been in use for over a year without a problem, but as people 'upgrade' to XP, we have started having problems. As I am not willing to go with XP at this point, I was wondering if this may be a known issue someone has a fix for.

Since this website is a company's management area, access is restricted to company personnel, so I am unable to give out a url.

Also, to avoid stepping on any toes, I did not write the code shown above. I inherited it with the website. If this script is recognized as being the original work of someone here, please let me know.

goodoyster
03-17-2003, 10:08 PM
We discovered the answer - pop-up blocking software their IT guy had installed. He was able to configure it to allow the pop-ups we were using.