Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
catch the click event on your cta button and add a click on the widget
$(document).ready(function() {
$('.buybtn').on('click', function(){
$('#wcm_button').click()
});
});
The widget is fully loaded from the VK site in a frame.
The only crutch is to hide the DIV wrapping the frame. But you need to install the widget immediately open.
But again - when you click on the cross, a standard button will appear ... Although you can track the size of the div, or close the cross with your div and hang a callback on it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question