Advertisement
b0rn-to-be-wild

Tutorial: POP-UP BOXES (v.2) SCRIPTS

Mar 3rd, 2018
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. Paste the following code under <body> or in the bottom of theme coding:
  2.  
  3.  
  4. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  5.  
  6. <script>
  7. $(document).ready(function(){
  8.  
  9. $( "#popup_button" ).click(function() {
  10. $( '#popup_box' ).toggle(10)
  11. $( '#open' ).toggle(10)
  12. $( '#close' ).toggle(10)
  13. $( '#shadow' ).toggle(10)
  14.  
  15. });
  16.  
  17. });
  18. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement