0 Replies Latest reply on Jul 9, 2010 8:20 PM by Imanta1

    getURL issues calling Javascript to open window (IE pop-up blocker)

    Imanta1

      I have a simple button that just calls:

       

      on (release) {

          getURL("javascript:myfunction();");

      }

       

      Within the JS, myfunction just opens a window. The code is like:

       

       

      function myfunction() {

        myURL = "someurl"

        mybar = "location=yes,status=yes,resizable=yes,scrollbars=yes,width=400,height=400";

        var sw = window.open(myURL,'MyWin',mybar);

      }

       

      So this works everytime on all browsers. The only exception is that IE always throws its popup blocker. Is there anyway I can change this to get away from the popup block in IE?

       

      Thanks in advance for any help!