Avatar of vsCoder
vsCoderFlag for United States of America asked on

Simple HTML-related question??

I suspect this may be a simple HTML-releated question; however for some reason, I'm not able to figure out (spending most my time developing non-web apps).

I'm trying to create a simple HTML page to be used as a table of contents menu for several video clips. When a visitor clicks on one of the links on this page I'd like a separate window to display with the embedded video clip. This allows the user to move the video to a secondary monitor if necessary (not tethered to the table of contents page).

Each time I've tried to accomplish this by using an external link the browsers I'm using (Safari on Mac, IE on Windows) create a new tab instead of a separate window. I'm sure I'm missing something simple. Any assistance will be appreciated.

Thank you.
Web DevelopmentWeb Browsers

Avatar of undefined
Last Comment
vsCoder

8/22/2022 - Mon
unknown_routine

Add target="_blank" to your HTML

for example:

<a href="http://www.google.com" target="_blank">Google!</a>

Open in new window

Scott Fell

Actually, this is not something you can force.  It is up to the user.   All the user needs to do is to drag the tab to the new window.   If you try a pop up, it will probably get blocked which is why you now see modals rather than pop ups.
ASKER
vsCoder

@padas,

I thought that might be the case. However, I do use another website that works the way I explained and I have not done anything to my browser settings to make that site open these extra browser windows. I suspect it's possible they are using something other than HTML to cause that to occur.

Thank you.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER CERTIFIED SOLUTION
Scott Fell

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
vsCoder

Thank you! That does the trick for me.