- This topic has 9 replies, 4 voices, and was last updated 1 year, 11 months ago by Tom.
May 9, 2019 at 8:49 am #894315Hans
At this moment I have different pages for linking my visitors to spotify, twitter, coundcloud, etc. In that page I use this: a href=”website” target=”_new” so that clicking on the link opens in a new tab.
How do I arrange the same effect directly from the menu? Now they click on the menu, the page opens and by clicking on the photograph on that page they go to the website in a new tab. I would like to arrange that directly from the main menu.
Is that possible?
HansMay 9, 2019 at 8:53 am #894320LeoStaffCustomer Support
Let me know 🙂May 9, 2019 at 10:36 am #894433Hans
Yes this helps. Thanks. Now I only need a solution to get them opened all in the same tab. every link opens now in a separate new tab. can they be opened in the same new tab? I am not sure is I should use css for that and what the css code should be.
HansMay 9, 2019 at 10:46 am #894445LeoStaffCustomer SupportMay 9, 2019 at 7:49 pm #894779Hans
When you use target=”_new” for links to other websites, the first time you click on a link a new tab opens to show the website. After that every link with that target is opened in that same tab. instead of opening a new tab every time for every linkMay 10, 2019 at 2:51 am #895003DavidStaffCustomer Support
the target=”_new” us technically an invalid term in HTML4 / 5. But what browsers do when clicking on a link is they will look for _new tab and if it exists it will open the link in that tab.
If you want each link to open in a new tab then use target=”_blank”May 10, 2019 at 8:49 am #895485Hans
In general: how do I target links to other websites in a single new tab? Instead that every link opens in another tab?
Spcifically. How and where do I arrange this in the menu?
HansMay 10, 2019 at 4:15 pm #895770TomLead DeveloperLead Developer
how do I target links to other websites in a single new tab? Instead that every link opens in another tab?
I’m not too sure what you mean by this? As of right now, your external links are opening in a new tab for me (in the same window as my other tabs).May 10, 2019 at 10:26 pm #895888Hans
In Google and in Firefox every link opens in a new tab. So when I click Spotiofy, spotify opens in a new tab. Clicking soundcloud opens soundcloud in another new tab. So clicking all those links results in 5 tabs openened next to eachother. I am looking for the possibility that the first one opens a new tab and when I click on a second link that it opens in the tab that was opened after the first one. For the links in the menu that go to other websites.May 11, 2019 at 9:24 am #896356TomLead DeveloperLead Developer
- You must be logged in to reply to this topic.