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.
Who is Participating?
Scott Fell, EE MVEConnect With a Mentor Developer & EE ModeratorCommented:
With js/jquery

  var url="";
  var windowName="ee";
  var strWindowFeatures = "menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes";, windowName,windowName, strWindowFeatures);

Open in new window

<a href="#" class="ee">go to ee</a>

Open in new window

Add target="_blank" to your HTML

for example:

<a href="" target="_blank">Google!</a>

Open in new window

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
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.
vsCoderAuthor Commented:

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.
vsCoderAuthor Commented:
Thank you! That does the trick for me.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.