Streaming live at 10am (PST)

Control webflow (button) elements using embed widget?


#1

is it possible to have embedded code interact with webflow elements without exporting the webflow site?
meaning, can you use the embed widget to include external code that for example triggers a webflow button simply identified by its class? i am using prototyping tools that exports html – then I embed these isolated elements into web flow...would be neat to use the imported code for basic control of webflow buttons directly inside the web flow interface.
any input appreciated.


#2

Hi @dest, yes that is possible, you can use jQuery to target an element by class or ID, using custom code (either in Footer of site (recommended) or using the embed widget.

See more about using custom code: http://help.webflow.com/site-settings/custom-code

Using jQuery, you can call on many functions: http://api.jquery.com/

To get what you need to know about jQuery in 3 hours: https://www.codecademy.com/tracks/jquery

​I hope this helps smile


#3

ok great, thanks I will have a look at this.


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.