Web Analytics Made Easy -
StatCounter Popup a browser window without a address bar - CodingForum

Announcement

Collapse
No announcement yet.

Popup a browser window without a address bar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Popup a browser window without a address bar


    When redirecting a new window, the window should not contain a address bar or the url input text bar.

    How this can be done.
    Last edited by Shabina; Jun 16, 2002, 05:35 AM.

  • #2
    when you open a window with javascript, you get to specify what parts of the window to show.

    window.open( 'url.htm', 'windowname', 'options');

    the options include
    width = #,
    height = #,
    top (for IE) / ScreenY (for NS) = #,
    left (for IE) / Screenx (for NS) = #,
    scrollbars,
    location,
    resizable,
    status,
    toolbar,
    menubar,
    fullscreen

    only the ones you specifically list, are used. so if you use

    window.open('url.htm', 'windowname', 'scrollbars,resizable,status,toolbar,menubar');
    then you'll have a window, with no location/address bar
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

    Comment


    • #3
      Hello When trying to disable the "location" through "windown.open location=no" and settinging the "about:config" to "dom.disable_window_open_feature.location=false" the Firefox still "tells" the "location" in the Title bar, like "wwww.my_window_location .... my_window_name". Is there a solution to this, this is an example of a business application?

      Comment


      • #4
        sindy12 - please do not revive ancient threads. Start a new thread of your own.

        The answer is no - security considerations mean that it is not possible to display a "false" URL in the title bar.


        All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

        All the code given in this post has been tested and is intended to address the question asked.
        Unless stated otherwise it is not just a demonstration.

        Comment

        Working...
        X