Always open target blank as new window not new tab
Posted on 2009-04-11
I would like to link to several videos from the main pages of my website. I have the code set to open the new page (with the video) as target="blank" and then I use body onload to resize the new window to the size of the video. My goal is to have the main page visible in the background while someone watches the video. However, if someone's browser settings are set to always open a new tab (not new window), then a new tab opens and the whole browser gets resized instead of just the video window. Is there any better way to do this? I'm not very familiar with java script, so I'd like to keep the programming in html. Thanks!