✦ Link to code: http://joelgrayson.com/open-in-new-ta...
___𝗖𝗹𝗮𝗿𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻___
The reason for the conditional, if (message===‘foo’), is so that you can post multiple messages that link to different tabs:
if (message===‘foo’) → open foo.com
if (message===‘bar’) → open bar.com
if (message===‘baz’) → open baz.com
Watch video How to Open Link in New Tab using Wix Code (Velo) online without registration, duration hours minute second in high quality. This video was added by user Joel Grayson 25 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,618 once and liked it 26 people.