How to make HTML file open in new window?

html
Wizard’s Living Grimoire asked:

When I edit html files from my computer, they keep opening in the same browser that I have opened. How do I fix it so that html files will open in their own windows?
I’m not looking to make a new window appear with HTML. I’m trying to edit HTML files and would prefer them to open in a fresh window instead of ‘hijacking’ my current opened browser.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • TwitThis


5 Responses to “How to make HTML file open in new window?”

  1. The J-ster says:

    hold crtl or shift when you click

  2. Matt M says:

    umm if your coding it so they open into a different window in the tag put target=”blank” if you want the windows to open up in new window your clicking, you can right click then click new window…

  3. DzSoundNirvana says:

    target=”_blank”

    or javascript

    Code:

    function my_fun(my_win){
    my_win = my_win;
    //Below you can add the additional parameters for the window.open() see reference list
    window.open(my_win);
    }

    Open my window

    reference:
    status The status bar at the bottom of the window.
    toolbar The standard browser toolbar, with buttons such as Back/Forward.
    location The Location entry field where you enter the URL.
    menubar The menu bar of the window
    directories The standard browser directory buttons
    resizable Allow/Disallow the user to re size the window.
    scrollbars Enable the scroll bars if the document is bigger than the window
    height Specifies the height of the window in pixels. (example: height=’150′)
    width Specifies the width of the window in pixels. (example: width=’150′)

    Example of the parameters:

    Code:
    window.open (”http://dzsoundnirvana.com/”,
    “WindowNameWithOutSpaces”,”menubar=1,resizable=1,width=550,height=250″);

  4. Madeleine F says:

    magic targets

    for example:

    Linked Text

    the target=”_blank” will make things open in a new window.

    hope that’s what you were looking for!

  5. d3v10u5b0y says:

    Since you didn’t specify, I’m going to assume you’re using Internet Explorer in some version of Windows, which is likely considering anybody using any other browser on any other operating system would feel special enough to mention it.

    In IE:
    -Go to TOOLS in the menu. If you do not have the menu bar visible or if you don’t have text-labels showing, it’s the gear icon.
    -In the TOOLS drop-down, go to “Properties”.
    -In the Properties dialog box, access the ‘Advanced’ tab.
    -Within the Advanced tab there is a section called “Browsing” in the scroll-window.
    -Find the option there-in that says “Reuse windows for launching shortcuts” If you’re using IE7 it will also say “(when tabbed browsing is off)”.
    -Make sure this item is unticked and OK out.
    -Your issue should now be resolved.

Leave a Reply