I have a application with menu items item1, item2 etc. When I click any item it opens in a separate tab under menu. I have also a blank application with a hyperlink as show in attached image. When I click the link, it replace the tab with linked page. How can I set it so that the linked page is opened in a separate tab?
Any idea/ suggestion? Or it it not possible it all.
To open a linked page in a separate tab instead of replacing the current one, you just need to add target="_blank" to your hyperlink’s HTML. <a href="yourpage.html" target="_blank">Item 2</a>
Hi, you can use this javascript code to open a new tab in menu-with-tabs.
Maybe you have to make changes to make it work.
However, reading this topic
Maybe it’s better, send a message with postMessage, I mean, do not call the func_menu_aba from the balnk page, but posta message with all the info to open the tab, so call top.postMessage with a json format data.
In the menu app, create the window.addEventListener(‘message’, function(e) { and analyze the data and call the function to open the page you need.
bye