Results 1 to 3 of 3

Thread: To open a popup window with no toolbar.

  1. #1
    Join Date
    Oct 2008
    Posts
    31

    To open a popup window with no toolbar.

    Hi,
    I am a newbie with html & javascript so please consider me.
    I know its not right to tweak with the user browser, but I want to open a window in a popup but with no toolbar.
    Is this possible for us to have a popup window without the help of javascript?
    If yes can you please give me an idea to do the same?

    Thanks.

  2. #2
    Join Date
    Jan 2008
    Posts
    1,521

    Re: To open a popup window with no toolbar.

    Actually its nothing wrong doing that.
    You just have to put a simple html script for this.
    The script will even open your new window without toobar in following way & mold it for your popup window as you wish.
    This code will open a new window without toolbars, menubars, & so on for a hyperlink:

    Code:
    <script language="Java Script">
    
    function openit(sURL){ newwindow=open(sURL,"newwin","scrollbars=no, toolbar=no, directories=no, menu bar=no, resizable=yes, status=yes, width=400, height=250");
    }
    
    </SCRIPT>

  3. #3
    Join Date
    May 2008
    Posts
    2,389

    Re: To open a popup window with no toolbar.

    To open a simple popup window:

    Code:
    window.open("win1.html","Window1", "menubar=no,width=430,height=360,toolbar=no");
    Above syntax is to first specify the web page to load into the window. Next, set the title of the window. Last, specify the options for the window
    Note: the options are all in a single set of quotes.

    The code to close the popup is:

    Code:
    <a href="javascript:self.close()">close window</a>
    To know the more options for a popup window & further treatments please visit.
    http://blazonry.com/javascript/windows.php

    I hope this helps you understand the popups:

Similar Threads

  1. Replies: 4
    Last Post: 24-01-2011, 11:05 AM
  2. How to Open Popup Window in Javascript?
    By Soumen in forum Software Development
    Replies: 4
    Last Post: 07-02-2010, 04:02 AM
  3. How to open Gmail account in a popup Window?
    By roodiii in forum Technology & Internet
    Replies: 5
    Last Post: 01-02-2010, 01:02 PM
  4. How to get a popup window using ajax?
    By khabi in forum Software Development
    Replies: 2
    Last Post: 29-06-2009, 06:07 PM
  5. Popup a non-resizable window
    By Alexxx in forum Software Development
    Replies: 3
    Last Post: 15-04-2009, 09:26 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,646,184.04337 seconds with 17 queries