BrU32

JQuery Roll Down/Up Menu For Web Dev's and Designers!!

Jun 26th, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. <html>
  2. <head>
  3. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
  4. <script>
  5. $(document).ready(function(){
  6. $("#flip").click(function(){
  7. $("#panel").slideToggle(2000);
  8. });
  9. $("#panel").stop();
  10. });
  11. </script>
  12.  
  13. <style>
  14. #panel, #flip {
  15. padding: 0px;
  16. font-size: 22px;
  17. text-align: center;
  18. background-color: #F05000;
  19. color: white;
  20. border: solid 1px #000000;
  21. border-radius: 300px;
  22. }
  23. #panel {
  24. padding: 85px;
  25. display: none;
  26. }
  27. </style>
  28. </head>
  29. <body>
  30. <p>
  31. <div id="flip">
  32. Compulsive Coding JQuery Menu SRC
  33. </div>
  34. <div id="panel">CompulsiveCoding.com<p>Coded By BrU<p> &copy 2016</div>
  35. </body>
  36. </html>
Advertisement
Add Comment
Please, Sign In to add comment