Google Chrome Widow.Open Issue?

Discussion in 'JavaScript' started by Tropica, Apr 4, 2010.

  1. #1
    Hi Folks!

    I have been working on a web app and for part of it I need to open a new window. I have this working on all browsers, my sticking point is with Google Chrome.

    Chrome seems to ignore the window features which is causing me issues, the thing I'm struggling with is I need the address bar to be editable within the new window. FF, IE, Safari and Opera do this fine, Chrome does not.

    My Code:

    <script type="text/javascript">
    <!--
    function popitup(url) {
    newwindow=window.open(url,'name','toolbar=1,scrollbars=1,location=1,status=1,menubar=1,resizable=1,width=800,height=600');
    if (window.focus) {newwindow.focus()}
    return false;
    }
    
    // -->
    </script>
    Code (markup):
    Any help would be gratefully received! Thanks in advance :)
     
    Tropica, Apr 4, 2010 IP
  2. Tropica

    Tropica Notable Member

    Messages:
    2,431
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    230
    #2
    Anyone? I can pay for the solution if necessary?
     
    Tropica, Apr 5, 2010 IP
  3. hdewantara

    hdewantara Well-Known Member

    Messages:
    540
    Likes Received:
    47
    Best Answers:
    25
    Trophy Points:
    155
    #3
    Don't know why but you just can't popup window with full features in google chrome.
    Why don't just open new window in tab instead of poping it up?

    Hendra
     
    hdewantara, Apr 11, 2010 IP
  4. Tropica

    Tropica Notable Member

    Messages:
    2,431
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    230
    #4
    because in a new tab you cannot control the size of the browser window, which it the basis of the app itself.

    Thanks anyway :)
     
    Tropica, Apr 12, 2010 IP