Code:
Code: Select all
<a href="youtubevideoURL" target="_blank">Code: Select all
<a href="youtubevideoURL" target="_blank">Code: Select all
<a href="javascript:void();" onclick="window.open('something.com/somwehere';, 'NewButtonWindowName','width=1000,height=800,scrollbars=yes')">Thanks. We can totally work with that.LTinker68 wrote:Yeah, the target="_blank" was birthed back when browsers didn't use tabs, so how that attribute behaves is determined by what the user has configured in their browser.
We're very big on usability here. We have a web-based product, so opening the video in a new window allows the users to view the product and the video simultaneously. If they're set up to open in a new tab, we've decided to assume they can figure out how to pop out the tab to a new window and be able to view the video and our UI.Regarding opening up a new window... Are you doing it to size the browser window to the video size, or are you doing it just to separate the new location from the help? If it's the latter, then web usability gurus recommend against doing that, as users have the habit of using the browser's back button/icon to go back to the previous site, and opening content in a new window or tab eliminates that option, which can be annoying to end users. Some users, like me, set up their browsers to open new content in a tab, because a new window could end up partially offscreen or split across two monitors or because it just takes up more real estate and add a new program tab in the status bar that I don't want.