3 Replies Latest reply on Aug 11, 2009 6:53 AM by kglad

    new window, javascript function to control size

    Davey J. Level 1

      Hi Everyone,


      I've got the following code, and it works well:


      var url = 'http://www.someplace.com/mystuff.html';
                  var props = 'width=450,height=570';
                  var js = 'window.open("' + url + '", "popup", "' + props + '"+"void(0);")';
                  getURL('javascript:' + js);


      however, the window that had the original flash .swf file refreshes with this on the page:


      [object Window]


      this is happening in Firefox, and IE returns just [object].  Safari is fine.  Is there some way I can avoid this message from coming up, or am I at the mercy of the browser gods?