• Resolved dhiskett

    (@dhiskett)


    Hi,

    I’m currently using your plugin for a sliding contact form on my site (Not currently live). I’d like to have the contact form slide out when the user clicks a div on the page.

    I’ve had a look through the php and js files but can’t figure out an easy way to do this. Is there a class I could add to the div to give it this functionality, or would I need to add some custom js?

    Thanks for your help,

    David

    https://www.ads-software.com/plugins/wp-contact-slider/

Viewing 1 replies (of 1 total)
  • WooExpert

    (@wooexpert)

    Yes sure you can do something like this by triggering click action when your div is clicked by adding following jQuery;

    jQuery('#wpcs_handle').click();

    Hope this might help you.

Viewing 1 replies (of 1 total)
  • The topic ‘Opening slider on click’ is closed to new replies.