www.webdeveloper.com
Results 1 to 3 of 3

Thread: About newwindow=window.open

Hybrid View

  1. #1
    Join Date
    Oct 2012
    Location
    istanbul
    Posts
    64

    About newwindow=window.open

    Hello,
    It does not work
    PHP Code:
    <script language="javascript" type="text/javascript">
    <!--
    function 
    popitup(url) {
        
    newwindow=window.open(url,'name','scrollbars=0,status=0,resizable=0,location=0,toolbar=0,height=300,width=800');
        if (
    window.focus) {newwindow.focus()}
        return 
    false;
    }
    // -->
    </script> 
    I want to hide fields in the scrollbars, status, location, toolbar and all

    For all browsers

    Thanks in advance

  2. #2
    Join Date
    Jul 2008
    Location
    urbana, il
    Posts
    2,787
    most of the window.open options have been disabled over the year, i'm not sure any any of them still work, and the defaults vary across browsers, nothing you can do about it.

    try showModalDialog or picoModal instead of window.open.

  3. #3
    Join Date
    Oct 2012
    Location
    istanbul
    Posts
    64
    I get it, thank you

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles