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

What is Framer? Join the Community
Return to index
Tyrale Bloomfield
Posted Jul 15 - Read on Facebook

How do you target an html object that was created with the .html? I want to target the li's here:

cardMenu.html = "<ul>
<li>Menu Item</li>
<li>Menu Item</li>
<li>Menu Item</li>
<li>Menu Item</li>
</ul>
"

5 Comments

Seoh Char

" is used for one-line string. multi-line string is """(3 times "), used like this

layer.html = """
<ul>
</ul>
""""

George Kedenburg III

any reason why youre making these in HTML? i would definitely suggest you make each LI as its own layer...

Tyrale Bloomfield

Just for speed, it isn't an important thing, just wanted it done fast as possible.

George Kedenburg III

try something like this (which is also pretty quick i think)

Tyrale Bloomfield

Thanks

Read the entire post on Facebook