Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. <script>
  2. $(document).ready( function() {
  3. $('a.link[name=verhaal]').click( function() {
  4. if ($('#content').is(':visible')) {
  5. $('#content').hide('400');
  6. }
  7. $('#content').load('verhaal.php', function () {
  8. $('#content').fadeIn('slow', function () {
  9. });
  10. });
  11. return false;
  12. });
  13. $('a.link[name=nieuws]').click( function() {
  14. if ($('#content').is(':visible')) {
  15. $('#content').hide('400');
  16. }
  17. $('#content').load('nieuws.php', function () {
  18. $('#content').fadeIn('slow', function () {
  19. });
  20. });
  21. return false;
  22. });
  23. $('a.link[name=contact]').click( function() {
  24. if ($('#content').is(':visible')) {
  25. $('#content').hide('400');
  26. }
  27. $('#content').load('contact.php', function () {
  28. $('#content').fadeIn('slow', function () {
  29. });
  30. });
  31. return false;
  32. });
  33. $('a.link[name=registreer]').click( function() {
  34. if ($('#content').is(':visible')) {
  35. $('#content').hide('400');
  36. }
  37. $('#content').load('signup.php', function () {
  38. $('#content').fadeIn('slow', function () {
  39. });
  40. });
  41. return false;
  42. });
  43. $('a.link[name=screens]').click( function() {
  44. if ($('#content').is(':visible')) {
  45. $('#content').hide('400');
  46. }
  47. $('#content').load('screen.php', function () {
  48. $('#content').fadeIn('slow', function () {
  49. });
  50. });
  51. return false;
  52. });
  53. $('a.link[name=home]').click( function() {
  54. if ($('#content').is(':visible')) {
  55. $('#content').hide('400');
  56. }
  57. $('#content').load('home.php', function () {
  58. $('#content').fadeIn('slow', function () {
  59. });
  60. });
  61. return false;
  62. });
  63. });
  64. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement