Рет қаралды 7,429
Here’s how you can have a dropdown open on default in webflow with a little Jquery assistance. Code below
DISCLAIMER: Since I recorded this it's been found that this code doesn't seem to work when interactions are applied to the dropdown. Keep in mind! May record a more comprehensive update some time:
$(document).ready(function() {
$('#toggle-1').addClass('w--open');
$('#dropdown-list-1').addClass('w--open');
$('.dropdown-wrap').on('click',function() {
$('#toggle-1').removeClass('w--open');
$('#dropdown-list-1').removeClass('w--open');
});
});
-----------------------------------------------
✨ ABOUT ME
Hi! I'm KC Katalbas. I'm a web designer, developer, and maker of things. I'm based in Nashville, Tennessee where I also make art and music.
-----------------------------------------------
✨ KC KAT CREATIVE
www.kckat.com/
/ kckatcreative
webflow.com/kckatcreative
-----------------------------------------------
✨ MUSIC & TECH
Music from Artlist.io. All music by the artist Aves