Open Browser Window Plugin

This plugin is no longer being developed or supported. It is recommended that you discontinue the use of this plugin and find an alternative, if applicable.


Open Browser Window opens a new browser window with the URL of the page that you specified using JavaScript.

Opening a page in a new window using JavaScript is a preferred method over using target="_blank" due to XHTML compliance issues. You have the option to choose the features as well as choose if you want it to be centered.


  • Easy to use and edit.
  • Uses JavaScript to open the Window, hence keeps your site XHTML 1.0 Strict and XHTML 1.1 compliant.
  • Function can be called multiple times on the same page.
  • All features of the window to be opened can be set using JavaScript.
  • If required, the window can be auto-centered on the screen.
  • A title can be given to the new window, which is also used as alt and title attributes for the image.
  • The window that is opened is perfectly XHTML compliant.
  • It works perfectly if you serve your site as application/xhtml+xml.
  • You can use the Quicktags button to insert the necessary code while writing a post / page.



  1. Download Open Browser Window Plugin.
  2. Extract the contents of to /wp-content/plugins/ folder.
  3. Activate the Plugin.

The JavaScript Function:

ald_OpenBrWindow(theURL, winName, features, myWidth, myHeight, isCenter, myTitle)

  • theURL – The URL you want to open in the window.
  • winName – Name of the window to be opened.
  • features – The features of the windows. viz. The following features are available in most browsers:
    • toolbar=0|1 : Specifies whether to display the toolbar in the new window.
    • location=0|1 : Specifies whether to display the address line in the new window.
    • status=0|1 : Specifies whether to display the browser status bar.
    • menubar=0|1 : Specifies whether to display the browser menu bar.
    • scrollbars=0|1 : Specifies whether the new window should have scrollbars.
    • resizable=0|1 : Specifies whether the new window is resizable.
  • myWidth – Specifies the width of the new window.
  • myHeight – Specifies the height of the new window.
  • isCenter – Set to true to center the window.
  • myTitle – Specifies the title of the new window. Also used for image alt and title attributes.


  • 1.2.2 – Fixed minor bug in quicktags
  • 1.2.1 – Updated for WordPress 2.7 and for the WordPress Plugin Repository. Added quicktags button.
  • 1.0 – Release


Current Version is 1.2.2


All files and their contents are licensed under the GNU General Public License (GPL).

(Visited 8,282 times, 1 visits today)


  1. Hello! I’d like to try it but I don’t know where to put the .js file

    Does everything go to the pulgins folder?

  2. Yes everything goes in the plugins folder.

    Just extract the zip file above as-is.
    You will get one php file in the plugins folder and the js file gets extracted in ald-openbrwindow folder

  3. Hello, I tried this plugin and the hack for Iimage Browser.

    Well, this is my problem:

    I was using this plugin – LZIL – but didn’t work with PNG, so now I’ll try this one, or disable some functions of the other plugin.

    You can check the examples on LZIL site, I need to add the following to your plugin:
    – close popup with click on image.
    – replace url in [title] (this should be a tag) with title=\”\” text on [url].
    – add class=\”\” somewhere so I can use custom CSS.

    And… there is a problem with the popups, the plugin adds margin or padding where it shouldn’t be.
    I can show some screenshots if you want.

    Thanks again for your patience.

  4. I haven’t understood the problem correctly, but the margin and padding problem that you mentioned above could be because of the way IE renders popups.

    I am currently working on a way to improve this.

    Thanks for the suggestions above.

  5. Thanks for this plugin ๐Ÿ™‚ Do I understand this right? there is no control panel for this I need to manually add the window open script into the wordpress page or post?

  6. Unfortunately, at this point there is not control panel.

    I am working on adding a button to the Quicktags for easy access.
    Until then the customizing section will provide the necessary information.

  7. The plugins works fine, but when the window open, the portuguese characters like รง, รฃ, รฉ, isn’t visible.

  8. This will make things easier for me, and once that button is in the quick-tag bar, easier still. Thanks! Now I can link to media directly from a post instead of sending folks to a new page. I don’t know how I missed this one…

  9. Your welcome David.

    This isn’t one of my very popular plugins ๐Ÿ˜‰

    I am trying, but the button in the quick-tag bar is going to take some effort.

  10. I do not succeed to download the plugin…


  11. What problem are you facing Franius?
    The download works fine for me

  12. Hi there, does your plug in support opening pages in a new window as well as links within a page?

Comments are closed.

Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.