How to Set Up Links to Open in the Same Tab with chrome_menu

Y_Aoi
Tera Contributor

I am in the process of creating a page with the UI Builder.

My plan was to utilize chrome_menu to produce content and set up links to open in the same tab using the opensWindow property, however, they are opening in a new tab instead.

Could you guide me on how to make links open in the same tab when using chrome_menu?

1 REPLY 1

hallief
Tera Contributor

To make links open in the same tab using chrome_menu in your UI Builder, you should not use the opensWindow property because it makes links open in a new tab. Instead, just set the href attribute of your link without any additional properties. This way, the links will open in the same tab by default. Here's an example:
<a href="your-link-url">Link Text</a>
This should ensure that your links open in the same tab when clicked.