• Launch new window

    Author
    Topic
    #405368

    Hopefully an easy one. I’m wanting to imbed URLs in a document – but have the browser open the link in a new browser window.
    Is this possible to set?

    Viewing 3 reply threads
    Author
    Replies
    • #832375

      What kind of document?

      To force URLs to open in a new window, include the target=”_blank” attribute in the hyperlink code, thus:

      Your Link Here
      • #832517

        Mark

        Thanks – I’ll give it a try.

        What kind of document? – a whole mix Frontpage HTML, Notepad HTML, Word HTML.
        I’m attempting to make my Intranet become the source of access to my file system drives in a themed way. The downside of a simple File: reference is that it opens in the same window, and people (me included) tend to lose the plot and exit when finished with the single document. grin

        • #832546

          OK, gotcha. I wanted to make sure it was a document type that would allow you to tweak the underlying code.

          If you want to set this behaviour as the default, add the following line to the section of your HTML documents:

          
          

          Also take note of Jefferson’s point that this is standard HTML, and you can use Javascript to open a new window with more control over its size and appearance.

          Hope that helps,

        • #832547

          OK, gotcha. I wanted to make sure it was a document type that would allow you to tweak the underlying code.

          If you want to set this behaviour as the default, add the following line to the section of your HTML documents:

          
          

          Also take note of Jefferson’s point that this is standard HTML, and you can use Javascript to open a new window with more control over its size and appearance.

          Hope that helps,

      • #832518

        Mark

        Thanks – I’ll give it a try.

        What kind of document? – a whole mix Frontpage HTML, Notepad HTML, Word HTML.
        I’m attempting to make my Intranet become the source of access to my file system drives in a themed way. The downside of a simple File: reference is that it opens in the same window, and people (me included) tend to lose the plot and exit when finished with the single document. grin

    • #832376

      What kind of document?

      To force URLs to open in a new window, include the target=”_blank” attribute in the hyperlink code, thus:

      Your Link Here
    • #832492

      Mark’s suggestion is standard HTML. Many people use JavaScript’s window.open() method so that they can control size, existence of toolbars, etc. I believe the JavaScript windows are the ones that pop-up blockers target, so unless you need those features, the standard HTML approach usually is the least trouble for everyone involved.

    • #832493

      Mark’s suggestion is standard HTML. Many people use JavaScript’s window.open() method so that they can control size, existence of toolbars, etc. I believe the JavaScript windows are the ones that pop-up blockers target, so unless you need those features, the standard HTML approach usually is the least trouble for everyone involved.

    Viewing 3 reply threads
    Reply To: Reply #832518 in Launch new window

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel