2009년 2월 16일 월요일

Opening a new browser window

I can think of 2 ways.

1. If you're using an img tag, you could probably use the onclick event.
simply put onclick="window.open('target_url')"

2. Or simply use a tag with the target set to a blank window.
<a href="some_url" target="_blank"></>