RIght now, the wixLocation.to() function can only go to a location (url) on the same tab/window. It would be a great help if we could specify in code whether to open a new tab/window or not. This is particularly useful when displaying pdf documents or other content that is not directly related to navigation through the site.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| wixLocation.to() add '_blank' | 2 | 86 | April 1, 2020 | |
| Please allow links to be opened in a new tab/window | 0 | 61 | May 7, 2019 | |
| Open new tab | 8 | 8971 | July 6, 2021 | |
| Wix-Location-Frontend.to() | 1 | 17 | February 1, 2025 | |
| How to open a wixLocation.to(url) in a new tab/window | 6 | 648 | July 8, 2025 |