Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. window.open

window.open

Scheduled Pinned Locked Moved Web Development
helpjavascripthtmlquestion
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    antbates
    wrote on last edited by
    #1

    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

    S 1 Reply Last reply
    0
    • A antbates

      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

      S Offline
      S Offline
      Sarvesvara BVKS Dasa
      wrote on last edited by
      #2

      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!.

      A 1 Reply Last reply
      0
      • S Sarvesvara BVKS Dasa

        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!.

        A Offline
        A Offline
        antbates
        wrote on last edited by
        #3

        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.

        S 1 Reply Last reply
        0
        • A antbates

          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.

          S Offline
          S Offline
          Sarvesvara BVKS Dasa
          wrote on last edited by
          #4

          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!.

          A 1 Reply Last reply
          0
          • S Sarvesvara BVKS Dasa

            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!.

            A Offline
            A Offline
            antbates
            wrote on last edited by
            #5

            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.

            S 1 Reply Last reply
            0
            • A antbates

              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.

              S Offline
              S Offline
              Sarvesvara BVKS Dasa
              wrote on last edited by
              #6

              antbates wrote: A mystery MS and mystery... dont ask I was born intelligent
              Education ruined me!.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups