In a Custom Code Embed element placed in the page body on the canvas In the Head or Footer of custom code in Project or Page settingsĢ. Webflow allows to use custom code in the following places:ġ. I am just a simple guy who loves html and css, so other simple ideas would be interesting to hear. Sometimes a little javascript or jquery goes a long way to do supplemental things. Just thinking out loud on this, I try to do most things using nocode, and it is easy to use click events to trigger mouse click interactions. Then in custom code you could do your conditional logic and trigger the interaction necessary to make the cards flip or not, such as “if two cards match that have some same value or attribute etc, then both should be visible, else trigger the card flip to hide the card face” With custom code you can use for example, the jQuery click event by class name to trigger the interaction that is also using class based targeting. This might be done using a little javascript or jquery to do the conditional logic and use Webflow interactions to for the card flipping and creating a feedback popup window. I am looking forward to great things in the future, take a peek at what’s coming: it is not possible to have one interaction trigger another interaction (or not trigger) based on the other element’s value or style. At the moment it is not yet possible natively to make an evaluation of some conditions when an interaction occurs, i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |