Open Browser Window Plugin

Support the Development

Overview:

Open opens a new 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.

Features

  • 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.

Requirements:

Installing

  1. Download Open Browser Window Plugin.
  2. Extract the contents of ald-openbrwindow.zip to /wp-content// 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.

Demo:

Demo for the same is available on my test blog.

ChangeLog:

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

To Do:

Downloads

Current Version is 1.2.2

I?ve spent a good deal of time and money developing and maintaining the plugin. If you like the plugin and find it useful and would like to donate something for my work please do click the Paypal Donate button below. The payment is secure. I haven?t filled in any amount. Feel free to donate what you please. Any amount is welcome. Thank you :)

License

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

Questions or Bugs

If you have any questions or would like to report any bugs then please visit the support forum.

Download Open Browser Window Plugin v1.2.2