This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Junhyuk Jang
Posted Dec 08 - Read on Facebook

I try to open some URL. (window.location = "http:// ... ")
Is there a way to open url in new window? (target_blank)


Junhyuk Jang

I wrote this,'', '_new')

it work only in browser. is there a way to open the new window in framer preview?

Koen Bok

Hmm, I'll fix this in Framer Studio.

Marc Krenn

Someone on the slack channel asked how open a link in a new tab. Bumping this old post for reference:

layer.on Events.TouchStart, =>
[email protected]('', '_blank')

btw this still only works in desktop browsers ;)

Marc Krenn

Here's how Jordan solved the problem:

Aalok Trivedi

^^ marc's method works if your using the Frames App but not Frameless

Read the entire post on Facebook