How to Set Up Links to Open in the Same Tab with chrome_menu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 05:25 PM - edited 05-30-2024 06:14 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2024 11:41 PM
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.