Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $(document).ready( function() {
- $('a.link[name=verhaal]').click( function() {
- if ($('#content').is(':visible')) {
- $('#content').hide('400');
- }
- $('#content').load('verhaal.php', function () {
- $('#content').fadeIn('slow', function () {
- });
- });
- return false;
- });
- $('a.link[name=nieuws]').click( function() {
- if ($('#content').is(':visible')) {
- $('#content').hide('400');
- }
- $('#content').load('nieuws.php', function () {
- $('#content').fadeIn('slow', function () {
- });
- });
- return false;
- });
- $('a.link[name=contact]').click( function() {
- if ($('#content').is(':visible')) {
- $('#content').hide('400');
- }
- $('#content').load('contact.php', function () {
- $('#content').fadeIn('slow', function () {
- });
- });
- return false;
- });
- $('a.link[name=registreer]').click( function() {
- if ($('#content').is(':visible')) {
- $('#content').hide('400');
- }
- $('#content').load('signup.php', function () {
- $('#content').fadeIn('slow', function () {
- });
- });
- return false;
- });
- $('a.link[name=screens]').click( function() {
- if ($('#content').is(':visible')) {
- $('#content').hide('400');
- }
- $('#content').load('screen.php', function () {
- $('#content').fadeIn('slow', function () {
- });
- });
- return false;
- });
- $('a.link[name=home]').click( function() {
- if ($('#content').is(':visible')) {
- $('#content').hide('400');
- }
- $('#content').load('home.php', function () {
- $('#content').fadeIn('slow', function () {
- });
- });
- return false;
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement