I’m working on a site with custom router pages and need to open a specific router page in a new browser window when clicking a menu item or button.
What I’ve tried:
-
Using
location.to()- this only navigates in the same window -
Using
openModal()- this opens as an overlay, not a new browser window -
Setting link target in the Editor - there’s no option for “open in new tab” for router pages
My Question: Is there any way to programmatically open a router page in a new browser window using Wix SDK, Velo, or any other method?
My Setup:
-
Using Wix SDK APIs (
@wix/site-location,@wix/site-window) -
Custom router setup
-
Need this to work from a button/menu item click
If this isn’t possible with Wix’s current functionality, is there a recommended workaround or alternative approach?
Thanks in advance for any help!