In page link to trigger dynamic list dropdown

Looking to have the dynamic product list on the right trigger/open the associated dynamic product dropdown when clicked. See image for reference.

Note: navigate to the Products page

Preview Link: https://preview.webflow.com/preview/trust-helena?preview=0015e1ae47f7beea91d9158c58d18f59

Site Link: http://trust-helena.webflow.io/products

Thanks!

Paste this in Page Settings > Footer Code:

<script>
Webflow.push(function() {
    $('.product-aside-link').click(function() {
      var num = $(this).parent().index();
      $('.product-dropdown-toggle').eq(num).trigger('tap');
      return false;
    });
});
</script>

@samliew works perfectly as advertised. Much appreciated!

1 Like

You’re welcome.

Next time you can reach me here for custom web development.

1 Like