Open another site in a new browser window

I can't create links to external sites that open as expected in a new browser window, the main browser window leaving unaltered. Except in Safari on a Mac. See the code example.

In Safari on Mac, this opens the new window and behaves as I would. In Safari on a PC, it opens a new window, but in the back. In Firefox on the Mac, I get an error message in which, when the 'OK' button is cliked, a new window opens behind the main window. Same thing on a PC. Opens a new window of Internet Explorer on a PC, but displays an error message forcing you to click the back button to return to the home page.
If I specify the url of the home page in the link field, the homepage gets reset then upward, that I don't want.
How can I get FireFox and IE to achieve this graciously?
To observe the behavior go to

Do not use frames. However, the question of opening a new window is always
hotly debated. My approach is to mark the link with an icon and
then to open a new window (or tab if the user prefers). If done
correctly with javascript, this will not result in a myriad of windows and
According to the standards. (And besides, if javascript is disabled, the new page
simply opens in the current window.)

According to this philosophy, I offer you a DW Extension, which makes the addition of this
dead simple behavior. Here is an example of a page that uses it to good
advantage. Despite all the external links and pdf on page links.
the Extension should only be added once the page, rather than
Add to each link. Links added to the page AFTER the
Extension is applied ALSO acted upon, saving time in my
notice and easy on the user:

The DW Extension is available here:


E. Michael Brandt
According to the standard scripts and the Dreamweaver Extensions
JustSo PictureWindow
JustSo PhotoAlbum, and alia


Tags: Dreamweaver

Similar Questions

  • Launch of swf. in a new browser window?

    I realized a site full Flash with animation and music etc.

    Now, I produce my own portfolio site. I want to have a Gallery/Viewer Flash running in my html doc. This has been implemented.

    But I want to have a button in the Flash Player which, when clicked, launches the swf Flash mentioned previously. site in a new browser window so that the person looking can see a fully functional site animate nicely.

    Anyone know how? Or can you recommend a tutorial that I can follow?

    So if you use AS2, you must create the button that you want to use, place it on the stage, and with the button selected, enter an instance name for this in the properties panel.  This instance name will allow you to interact with the button using code.  Then, in the scenario where the button is in a layer of separate actions, you could code as follows (assume that you gave it an instance name of "btn"):

    btn.onRelease = function() {}

    getURL ("myGallery.swf", "_blank");


    This should get your swf file to open in a new browser window.  Just a note... When you open a swf file in a browser, it will size itself to fill the browser by what that matter the size strikes the first window frame.  So if you want to control the size to what it displays, you must use an html page to display.

  • Behavior question open new browser window

    I have a site that has a list of names of deceased persons. When a viewer clicks on a name I have a new open browser window which is a page of small specific Memorial for this person. This list is long enough so the viewer must scroll down a ways to get to the bottom. If the viewer clicks on a name down and then close this new browser window, they have to scroll all the way down and find where they left off. This assumes of course, they're going to view the pages of memory for each person. Is there a way to make the "original (with the list of names)" page refreshes to the top of the page? I use and you want to continue using the tables and no layers or styles.

    Information can be sent on [email protected]

    Any help would be appreciated!

    Thank you


    Looks like you are using

    Try to use

    Or better yet, use David Powers Smart Link:

    Ken Ford
    Adobe Community Expert - Dreamweaver
    Fordwebs, LLC

    "csnodgr2" wrote in message
    News:[email protected]
    > I have a site that has a list of names of deceased persons. When a
    > viewer
    > clicks on a name, I have a new open browser window which is a small Memorial
    > page
    > specific to that person. This list is long enough so the viewer must
    > scrolling
    > a means to arrive at the lower part down. If the viewer clicks on a name to the
    > down and then close this new browser window, they have to scroll through all the
    > way
    > back down and find where they left off. This of course they guess
    > are
    > go to view the pages of memory for each person. Is there a way
    > to
    > Make sure that the original page "(with the list of names)" does not update to the top
    > of the
    > page? I use and want to continue to use the tables and no layers or
    > styles.
    > Information can be sent on [email protected]
    > Any help would be appreciated!
    > Thank you,
    > Cody

  • Cannot open a new browser window

    I have a few users who have problems connecting to Discoverer on new PCs. They use the Internet Explorerer 8. They are able to get to the login, but when screen connect achieving (or go) they get an error: "cannot open a new browser window. Make sure that you don't have a pop - up disabled for this site".

    Of course the first thing I had to do was disable popups blocker all together. But they still have the error (even when they restart their PC). Other than that, is there something that I miss in how they must configure IE8? I'm personally used to use IE6 at work and do not know much about the setting of configuration for IE8.

    Thank you!

    Check if you have a toolbar (like Yahoo, Google toolbar)
    These toolbars have their own Blocker for pop-up windows.
    You must disable the pop-up blocker also with the blocker IE.

    Thank you

  • I can open a new browser window, but not a new tab, or by clicking on the sign more or select it from the menu. I have completely updated to firefox and also rebooted. What is going on?

    I can open a new browser window, but not a new tab, or by clicking on the sign more or select it from the menu. I have completely updated to firefox and also rebooted. What is going on?

    Try to disable or uninstall the extension "Ask Toolbar".

  • Can web viewer external links open in a new browser window?

    We have as a default behavior for all links off the title would open in a new browser window when clicked. Now by clicking on a link reuses the window current and required the user to the publication.

    I was hoping that maybe change the value in Folio overlays Hyperlink "Open in Folio ' to 'Open in device browser' would work, but it doesn't seem to change anything on the web viewer.

    He will be supported in publication v29 of tomorrow.

  • Publish with F12 and open a new browser window

    In Flash CS6 I could publish with F12 and it would be directly open in a new browser window. Is there a way to open a new window of browser in Flash CC after the publication with F12?

    Hi Dist.,

    You can set shortcuts to test Flash - animation and in the browser from the Edit-> keyboard shortcuts dialog box. Check the preview below.

    Thank you and best regards,

    Roger Simon

  • Open the PDF link in a new browser window?

    I have consulted newly created a PDF file in a browser.

    When you click an internal link, the linked PDF load in the same window

    I need to launch in a new browser window.

    I put the link to 'new window to launch' in Word, the origin of this file.

    I also opened and resaved it in Acrobat 10 with preference 'Open links in the same interdocument window"deselected.

    None of these settings have changes the behavior while all the documentation I've read seems to suggest that they should.

    What I'm missing here?


    That the parameter preference does not apply to web links and do not refer to a browser window, but an Acrobat window.

    There is a JavaScript method that might work. Try to set the link for the action to something like the following script:

    app.launchURL("", true);

    This was taken from the example here:

    The problem is that if a user has 10 drive and protected mode is enabled (as it is by default), it does not work and opens the link in the same browser window.

  • Open another SWF file in the same window of the browser?

    I designed a website, the first HTML page. How to code a button to load another SWF file in the same web browser window?

    The example site uses Flash.  If you want it works exactly the same as you do not want to use the Flash.

    If you want similar functionality, then you can simply use the navigateToURL() function to open the new page with the swf site integrated into it.

    Explaining the AS3 button Code

    Assume that you create a button symbol.  Since this is a button, it is already a car animation object that will react to mouse interactions, but only visually at this stage.  The first thing you need to do to make it useful down must assign a unique instance name.  If you drag a copy of it on the stage of the library, and while it is still selected, enter you this unique instance for her name in the Panel properties... say you name "btn1.

    In AS3, to make a button with the code, you must add a listener of events and event handler for it function.  You may need to add a little (for different events, like reversal, deployment, by clicking on it, but for now let's just say you want to be able to click them to get a web page.)  In the scenario that contains this button, a layer of separate actions that you create in a similar framework where this button exists, numbered, you must add the event listener:

    Btn1.addEventListener (MouseEvent.CLICK, btn1Click);

    The name of the unique function for the treatment, the click of this button is specified at the end of the assignment of event listener, so now you just have to write this function:

    function btn1Click(evt:MouseEvent):void {}

    var url: String = "";

    var req:URLRequest = new URLRequest (url, "_self");   "_self" indicates that it takes to open in the same window

    navigateToURL (req);


  • You can link text to conduct "open in new browser window"?

    Newbie here... the title question. I know you can link an image in this way, but you can do it with text?

    Yes.  The way in which PDF files are processed depends on parameters computer/browser to the end-user, plug-ins installed, etc...  In some cases, the PDF file will launch in the browser window.  In other cases, it can download on the user's hard drive or it can launch in Acrobat (if they have).  Too many unknown variables here...

    The best advice I can give you is to keep it simple.  A link directly to your PDF file and use target = "_blank" to open it in a new window or tab.  And be gentle with your site visitors, tell them that it is a PDF file and about what is the size of the file in KB.

    Link (PDF - 250 KB)

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists

  • After closing a browser window and if I open a new browser window, the browser does not open by my home page in tools/options/commissioning, it loads the last page

    recently, at the opening of a new browser, all is using and closed my last session opens

    several widows will open and no matter what the tabs were opened by respective windows will open and not through tools/options/start/homepage

    It never happened until recently and nothing else seems to have changed or new programs etc has been loaded or changed

    You can remove the user.js, as it shouldn't be there unless you have created the file yourself.

    If you set the pref in this file then you'll lose open tabs if you need to restart Firefox after installing a new extension, as this is the main reason for the use of this preference.
    So remove the user.js file or at least this line if you want to continue to be reset possible other present prefs in the file each time you start Firefox.

    This file is read every time you start Firefox, so changes made to the Pref set via this file only last for the current session.

  • I use a Mac and Apple for some reason any since yesterday, I am unable to open new browser windows by pressing on the + sign on my top bar can help you please

    I download the new version of Firefox 2 days until then I could open the windows of the browser at the top of the page by clicking on the + sign, however, if I need a new window now I have to go for example on facebook, click on an ad that will open a new browser page and use it?


    I'm glad to hear that your problem has been resolved.

    If you have not already the case, please mark this thread as solved by the solution of marking.

    This will help other users experience similar problems helps to find faster and more efficiently.

    I hope that you will continue using our products and we thank you for contacting the Mozilla Support.

  • Open swf in new browser window


    I want a feature in a SWF (for example a button) that will open a new browser full-screen which allows the animation or at least resizable view viewers love.

    Any suggestions?

    Thank you!

    Thanks, looks great. It will take time to study, but it seems that everything is there!

  • move the site to a new server windows

    I have an Intranet site that has been created in Dreamweaver 6, not by me, and I need to move it to a new server.  The old server running Windows Server 2003 and I need to get the site up and running a Windows Server 2008.  I'm a total newbie in HTML and Dreamweaver.  I have Dreamweaver CC 2015 running on my PC and I created a local site that is synchronized with the existing site.  Any information would be greatly appreciated.  Thank you!

    In a perfect world, I would not anticipate any problems.

    I would create a new site definition, the same as the current site, with the exception of remote server information.

    Upload all your files and subfolders to the new server and test it.

  • Submit the form with the answer in the new browser window

    Is it possible to set up a "submit" button so that it displays the answer in a separate browser window?  With an HTML form, I can do this using the target = "_blank", but not aware of such an option on a LiveCycle send button.

    If you can't do it, maybe there is another way to do what I need.  Users fill in the PDF data entry form and send the data to a servlet that returns an another (different) PDF.  My user can analyze this PDF file, you see a problem and to return to the data entry form to change what it is entered before the regeneration of the output.  However, at this time there my PDF of original data entry has disappeared.  I'm not using LiveCycle on the server.  Any ideas?

    Thanks a lot for your help on this Paul.  I decided to go with the approach of hostContainer despite my reservations.  Here is a simplified version of my servlet.  This version of simply parrots back the XML in a window separate.  I hope this helps someone.

    package ca.jlangdon.sampleservlets;

    import java. IO;
    to import javax.servlet.ServletException;
    Import javax.servlet.http.HttpServlet;
    to import javax.servlet.http.HttpServletRequest;
    to import javax.servlet.http.HttpServletResponse;

    SerializableAttribute public class AnnuityFF extends HttpServlet {}

    static final long serialVersionUID = 1 L;

    ' public void doGet (HttpServletRequest request, HttpServletResponse response) survey ServletException, {}
    response.setContentType("text/html"); out = response.getWriter ();
    out.println(")Generator of realization");
    out.println(" ");

    out.println ("");

    ' public void doPost (HttpServletRequest request, HttpServletResponse response) survey ServletException, {}
    try {}
    String strExtract = request.getParameter ("myTextArea");
    PrintWriter out = response.getWriter ();
    out.println (strExtract);
    catch (Exception e) {}

    My form is called FulfillmentGenerator, and it is stored at the root of the web application.  On this, there is a button with this javascript on the click event:

    var oDoc =;

    var strData ="AnnuityFulfillmentPackage").saveXML ("pretty");

    var strings = [strData];

    try {}

    oDoc.hostContainer.postMessage (strings);


    {} catch (ex) ("error when sending messages to the container:" + ex);


Maybe you are looking for

  • Support for Apple ID

    Hello, I have two Apple ID, one with my gmail account that I used with registration and activating my iPhone iTunes first. I have create an other Apple ID with icloud email then I use it for family sharing. I want to unify everything into a single ac

  • Video playback USB on Toshiba 40 L 345 * DB

    Hello I recently bought a smart TV of 40L 345, that has a USB connection. When I tried to watch a video, it plays very well, but only about half of the content, and then goes back to the main menu. I tried this with some short videos and a longer, wi

  • Why a task of analog input shows shape of different signal than DAQmx Test Panel?

    I have a DAQ SMU-6363multifunction material. I need to view CHA and CHB with an encoder. I had connected CHA ai4 + and CHB ai5 + thanks to a SCC-68 in differential mode box. I provide + 5V from the power supply of the PXI-4110 of the encoder. I have

  • HP officejet 4630 does print the pages

    I have all in one model 4632 and have reinstalled three times.  He continues to not print all pages when printing from my laptop which uses Windows 8.  It prints well unique pages, but as soon as there is more than one page it stops usually half way

  • Keyboards. Why have I not a CapsLock light

    Under the Accessories heading. Why I haven't installed a Light CapsLock on my Acer keyboard with 8.1 Of Speccy DevicesHID keyboard deviceDevice type: keyboardDevice name: keyboard HID DeviceSeller: Lite-On Technology Corp.Geographical area: USB perip