Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. To show a pop-up when a link on your page is clicked, please insert the following code into the same page where you want the pop-up to appear.
  2.  
  3. <script>
  4. var ml_webform_1602404 = ml_account('webforms', '1602404', 's9l9l2', 'load');
  5. ml_webform_1602404('animation', 'fadeIn');
  6. </script>
  7.  
  8.  
  9. Once you have first script inserted, add a link you want to open the pop-up. Here's an example with the required HTML onclick attribute:
  10.  
  11. <a href="javascript:;" onclick="ml_webform_1602404('show')">Click here to show popup</a>
  12.  
  13.  
  14. Please note that this code example is unique for each of your form. Also, please make sure that universal tracking script is inserted into your page.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement