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

What is Framer? Join the Community
Return to index
Rick Martin
Posted Aug 16 - Read on Facebook

Hi everyone. Just a quick question here.
I'm aware that a layer can have HTML:


# Layer with HTML
layerA = new Layer
layerA.html ="Hello"

But are there any more details out there about what else can be done with HTML? I'm trying to hyperlink an image layer, and I'm just wondering if it's possible.

I expect "this is not what framer is for", but I thought I'd ask anyway.

Thanks in advance!


Koen Bok

Yeah you can basically paste all the html in there that you like, so go for it. One of Framers nice things is that it's moldable like that. That said, if you want to make a link I'd just add a click handler and use window.location = "http://...".

Rick Martin

Thanks! That did the trick.

Read the entire post on Facebook