Question: I am opening a link in a new window using jQuery:

```
<script type="text/javascript">
$(document).ready(function() {
    $('a[href="/education/global-health-courses"]').attr("target", "_blank");    
});
</script>

```

I would like to set the size of the new window to 800px wide by 700px tall. I just need a little help adding those attributes to the existing code.

Thanks.

Answer: 
You can't resize a `target=blank` window AFAIK. 

You will have to create a new one using `window.open` - outlined e.g. in [**this article**](http://www.javascript-coder.com/window-popup/javascript-window-open.phtml) - and add a `testwindow.resizeTo(x,y)` command to make sure.
In order to set the window size you need to use [window.open](http://www.javascript-coder.com/window-popup/javascript-window-open.phtml) method. Instead of using `target="_blank"` on the anchor you could subscribe to the `click` event and call `window.open`.