I am looking to achieve page transition effects between 2 web domains. One being mcpixel.co.uk/new and the second being mcpaper.co.uk. I own both of the domains. I would like it so that if the link in the header is clicked, the page fade transitions to the new page, so there isn't any white or flicker between pages. Programs primarily programmed in PHP with Javascript/JQuery (Latest as of writing) and CSS.
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>
MCPaper - Your Number #1 Minecraft Newspaper
</title>
<meta name="description" content="A newspaper with news dedicated to Minecraft!">
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/fonts.css" />
<script type="text/javascript" src="css/jquery.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#ip').click(function() {
$('.top-network').slideToggle("slow");
});
});
function toggle()
{
$('.top-network').slideToggle("slow");
}
</script>
</head>
<?php
if($_GET['ref']=='network')
{
echo "<body onload='toggle()'>";
echo "<center><div class='top-network' id='top-network'>";
<a href='http://redstonetor.ch/new/?ref=network'><img src='network/rst-networkicon.png' class="networkicons"></a>
<a href='http://mcpixel.co.uk/new/?ref=network'><img src='network/mcpixel-networkicon.png' class="networkicons"></a>
<a href='http://mcpaper.co.uk?ref=network'><img src='network/mcpaper-networkicon.png' class="networkicons"></a>
echo "</div>";
}
else
{
echo "<body>";
echo '<center><div class="top-network" id="top-network" style="display: none;">';
<a href='http://redstonetor.ch/new/?ref=network'><img src='network/rst-networkicon.png' class="networkicons"></a>
<a href='http://mcpixel.co.uk/new/?ref=network'><img src='network/mcpixel-networkicon.png' class="networkicons"></a>
<a href='http://mcpaper.co.uk?ref=network'><img src='network/mcpaper-networkicon.png' class="networkicons"></a>
echo "</div>";
}
?>
<div class="top">
<div class="top-container">
<div class="ip" id="ip">
<font color='yellow'>Click to see the RedstoneTor.ch Network</font>
</div>
This is the code I have, I haven't tried anything as I wouldn't know where to start.