Advertisement
tommyosheawebdesign

Make Elementor section clickable

Mar 15th, 2021
860
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. First add class to section. Class name is clickable,
  2.  
  3. then inset HTML directly into the seciton
  4.  
  5.  
  6.  
  7. <script>
  8. document.getElementById
  9. ("clickable").onclick = myFunction;
  10.  
  11. function myFunction(){
  12.     window.open("#", "_blank");
  13. }
  14.  
  15. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement