window.open
-
Hi all I am having a problem with window.open In a file called pageone.html, I have the following: window.open("pagetwo.html"); pagetwo.html is nothing special - just some text (no javascript at all). The problem I get is a javascript error - "Access Denied" pageone.html is accessed by http://localhost/pageone.html So why the hell is this happening? I can't figure it out at all. I have the correct permissions to the folder. Thanks in advance, Anthony
-
Hi all I am having a problem with window.open In a file called pageone.html, I have the following: window.open("pagetwo.html"); pagetwo.html is nothing special - just some text (no javascript at all). The problem I get is a javascript error - "Access Denied" pageone.html is accessed by http://localhost/pageone.html So why the hell is this happening? I can't figure it out at all. I have the correct permissions to the folder. Thanks in advance, Anthony
antbates wrote: window.open("pagetwo.html"); Why do you want this to happen? Any advt page.. if thats the case, there are different solution for it I was born intelligent
Education ruined me!. -
antbates wrote: window.open("pagetwo.html"); Why do you want this to happen? Any advt page.. if thats the case, there are different solution for it I was born intelligent
Education ruined me!.SPS wrote: Why do you want this to happen? One of our applicatons needs to have more than one window open. It's a bit odd, but necessary. Anyway, turns out that the machine it was failing on had an odd combination of MS patches, and when we updated it fully, it worked properly. Thanks for your help anyway.
-
SPS wrote: Why do you want this to happen? One of our applicatons needs to have more than one window open. It's a bit odd, but necessary. Anyway, turns out that the machine it was failing on had an odd combination of MS patches, and when we updated it fully, it worked properly. Thanks for your help anyway.
antbates wrote: when we updated it fully, it worked properly You mean ... your posted code worked properly with the patch updates (I assume that was a patch for the IE) I was born intelligent
Education ruined me!. -
antbates wrote: when we updated it fully, it worked properly You mean ... your posted code worked properly with the patch updates (I assume that was a patch for the IE) I was born intelligent
Education ruined me!.SPS wrote: your posted code worked properly with the patch updates Yes, that's right. It's very odd - I know MS have made some changes to window.open to restrict cross-domain opening, but the two files were in the same directory. Maybe they made a mistake and corrected it later. A mystery.
-
SPS wrote: your posted code worked properly with the patch updates Yes, that's right. It's very odd - I know MS have made some changes to window.open to restrict cross-domain opening, but the two files were in the same directory. Maybe they made a mistake and corrected it later. A mystery.
antbates wrote: A mystery MS and mystery... dont ask I was born intelligent
Education ruined me!.