Advertisement
b0rn-to-be-wild

POP UP SCRIPTS

Mar 3rd, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. Paste the following code under <body> or in the bottom of theme coding:
  2.  
  3.  
  4. <!--Hide/show on click-->
  5.  
  6. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script><script>
  7. $(document).ready(function(){
  8.  
  9. $( "#pclick" ).click(function() {
  10. $( '#popen' ).toggle(10)
  11. $( '#popup_box' ).toggle(10)
  12. $( '#pclose' ).toggle(10)
  13. });
  14.  
  15. $( "#click" ).click(function() {
  16. $( '#sidebar' ).toggleClass('pushed');
  17. $( '#paneltwo' ).toggleClass('pushedtwo');
  18. $( '.clicon' ).toggle(0);
  19. $( '.cricon' ).toggle(0);
  20. });
  21.  
  22. $( "#aclick" ).click(function(){
  23. $( "#about" ).toggle(0);
  24. $( "#aclick" ).toggleClass("close");
  25. $('.aicon').toggle(0);
  26. });
  27.  
  28. $( "#lclick" ).click(function(){
  29. $( "#links" ).toggle(0);
  30. $( "#lclick" ).toggleClass("close");
  31. $('.licon').toggle(0);
  32. });
  33.  
  34. $( "#tclick" ).click(function(){
  35. $( "#tags" ).toggle(0);
  36. $( "#tclick" ).toggleClass("close");
  37. $('.ticon').toggle(0);
  38. });
  39.  
  40. $( "#fclick" ).click(function(){
  41. $( "#faq" ).toggle(0);
  42. $( "#fclick" ).toggleClass("close");
  43. $('.ficon').toggle(0);
  44. });
  45.  
  46. $( "#bclick" ).click(function(){
  47. $( "#blogroll" ).toggle(0);
  48. $( "#bclick" ).toggleClass("close");
  49. $('.bicon').toggle(0);
  50. });
  51.  
  52. $( "#eclick" ).click(function(){
  53. $( "#extra" ).toggle(0);
  54. $( "#eclick" ).toggleClass("close");
  55. $('.eicon').toggle(0);
  56. });
  57.  
  58. });
  59.  
  60. </script>
  61.  
  62. <!-- Saturn icons -->
  63.  
  64. <link href="//dl.dropbox.com/s/50g6fbds3rh4m0j/saturnicons.css" rel="stylesheet">
  65.  
  66. <!--Jquery-->
  67.  
  68. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement