Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

In case you’re adding a Visualizer banner on your website or a button in the menu, a trigger to redirect users to the Visualizer is to be added. Please check our short instruction to see how.

Step 1. You need to add a button to a page with any URL.

Step 2. Add #visualizer in the end of the URL: URL#visualizer/.

Step 3. Hide your Wizart button (just add display: none; to the css file of your Wizart button). And then add the following code:

 <script>

  document.addEventListener('DOMContentLoaded', function(){

            $($('.class').find('a[href$="#visualizer"]')).click(function(e){

                e.preventDefault();

                $('.w-floating-button').trigger('click');

    });

  });

</script>

 w-floating-button - a css class of the Wizart button

How it works? Click on the custom menu button and make a trigger to a real Wizart button.

  • No labels