CSS/JS needed to make Content Area Modal element open on hover?
Hi @ericmellen,
Thanks for reaching out.
To trigger the click on hover, you need to add a custom class to the toggle button and add the following custom JavaScript code into the Theme Options > JS.
jQuery('.testb').on('mouseover',function()
{
jQuery(this).trigger('click');
});
Remember that the above code will work if copied as it is and don’t conflict with any existing style.
Please note that the code provided serves only as a guide to help you get started custom coding on your own if there’s no option offered in our theme or the products we bundle.
We do not provide support for custom codes that means we can’t fix it in case it conflicts with something on your site nor will we enhance it.
Thanks
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.