Advertisement
CornyGoose

Kingpin Java

Mar 21st, 2021
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. <script defer="" type="text/javascript">
  2. function killCopy(e){
  3. return false
  4. }
  5. function reEnable(){
  6. return true
  7. }
  8. document.onselectstart=new Function ("return false")
  9. if (window.sidebar) {
  10. document.onmousedown=killCopy
  11. document.onclick=reEnable
  12. }
  13. function nrcIE() {
  14. if (document.all) {
  15. return false;
  16. }
  17. }
  18.  
  19. function nrcNS(e) {
  20. if (document.layers || (document.getElementById && ! document.all)) {
  21. if (e.which == 2 || e.which == 3) {
  22. return false;
  23. }
  24. }
  25. }
  26.  
  27. if (document.layers) {
  28. document.captureEvents(Event.MOUSEDOWN);
  29. document.onmousedown = nrcNS;
  30. }else {
  31. document.onmouseup = nrcNS;
  32. document.oncontextmenu = nrcIE;
  33. }
  34. document.oncontextmenu = new Function("return false");
  35.  
  36.  
  37.  
  38. $(document).ready(function(){
  39. $(".one").click(function(){
  40. $(".one").toggleClass('clicked')
  41. $(".stats").fadeIn(600);
  42. $(".about, .friends, .ooc").fadeOut(500);
  43. });
  44.  
  45.  
  46. $(".two").click(function(){
  47. $(".two").toggleClass('clicked')
  48. $(".about").fadeIn(600);
  49. $(".stats, .friends, .ooc").fadeOut(500);
  50. });
  51.  
  52. $(".three").click(function(){
  53. $(".three").toggleClass('clicked')
  54. $(".friends").fadeIn(600);
  55. $(".stats, .about, .ooc").fadeOut(500);
  56. });
  57.  
  58. $(".four").click(function(){
  59. $(".four").toggleClass('clicked')
  60. $(".ooc").fadeIn(600);
  61. $(".stats, .about, .friends").fadeOut(500);
  62. });
  63. });
  64. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement