Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #989747
    whaamxv
    Participant

    Is there a way to create a floating “Contact Us” button that opens up a form? I’m using the following scripts, but I’m not sure how to embed a form?

    Custom JS:

    jQuery(document).ready(function($) {
    $(‘CONTACT‘).appendTo(‘.site’);
    });

    Custom CSS:

    .site .floating-button {
    }
    .floating-button {
    position: fixed;
    bottom: 1%;
    width: 150px;
    right: 50px;
    z-index: 2000;
    background-color: #FFF;
    padding: 10px;
    }

    #989948
    Joao
    Moderator

    Hi There,

    May I suggest a different solution?

    Why dont you use your form using the Converplug plugin?

    This way you can activate it based on the class of the element.

    S once you create your button and give it a class ex: modallauncher you can assign it as a launcher class on Convertplug to launch the modal.

    For more information you can see this video. What you will learn does not need to be used necessary inside Cornerstone.

    Let us know if you need further help.

    Thanks,

    Joao

  • <script> jQuery(function($){ $("#no-reply-989747 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>