|
/ Documentation /Getting Started/ How to auto close call-to-action in Convert Pro

How to auto close call-to-action in Convert Pro

Following are the steps to auto close call-to-action on delay,

Step 1 -> Activate advanced script addon in Convert Pro.  Follow this document for that.

Step 2 -> Open the Call-to-action you wish to auto close.

Step 3 -> Move to Design -> Panel and then Additional JavaScript accordion.

Step 4 -> Add following code to After Call-to-action Open section. You can modify cta_timeout value 3000 milliseconds as per your requirement.

var cta_timeout = 3000; // in milliseconds 
setTimeout(function() {

var modal = jQuery( '.cpro-onload[data-class-id=' + style_id + ']' );

jQuery(document).trigger( 'closePopup', [modal,style_id] );
}, cta_timeout );

Step 5 -> Save settings and publish call-to-action.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page

Compare Convert Pro with...

29439
29440
Scroll to Top