Developing Matt

My Technical Journal

open in new window

leave a comment »

I am posting this not because it is complicated, but because I forget and have to spend 5 mins looking it up.  How to open a new window using javascript:

<a href=”~” onclick=”window.open(‘http://www.themolting.com&#8217;, ‘window_name’); return false”> linking text</a>

Advertisements

Written by matt

November 21, 2007 at 2:43 pm

Posted in javascript

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: