<html>
<head>
<style type="text/css">
<!--
#body
{
border-width: 0px;
overflow: auto;
padding: 0px
margin: 0px;
}
.curtain
{
visibility: hidden;
position: absolute;
left: 0px;
top: 0px;
}
//-->
</style>
<script language="JavaScript" type="text/javascript">
<!--
// CREDITS:
// bye-bye-curtain by Urs Dudli and Peter Gehrig
// Copyright (c) 2000 Peter Gehrig and Urs Dudli. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.24fun.com.
// info@24fun.ch
// 5/25/2000
// Edit by René Marscheider
var pause = 50;
var maxmove = 0;
var widthstep = 10;
var curtaincolor1 = 'ffcc00';
var curtaincolor2 = '333333';
var curtaincolor3 = '333333';
var curtaincolor4 = 'ffcc00';
var curtaincontent1 = '';
var curtaincontent2 = '';
var curtaincontent3 = '';
var curtaincontent4 = '';
var screenheight;
var screenwidth;
var heightstep;
var url;
function init()
{
screenwidth = (window.innerWidth) ? window.innerWidth : document.body.clientWidth;
screenheight = (window.innerHeight) ? window.innerHeight : document.body.clientHeight;
curtaincontent1 = '<table border="0" cellpadding="0" cellspacing="0" width="' + screenwidth + '" height="' + screenheight + '">'
+ ' <tr>'
+ ' <td bgcolor="' + curtaincolor1 + '"> </td>'
+ ' </tr>'
+ '</table>';
curtaincontent2 = '<table border="0" cellpadding="0" cellspacing="0" width="' + screenwidth + '" height="' + screenheight + '">'
+ ' <tr>'
+ ' <td bgcolor="' + curtaincolor2 + '"> </td>'
+ ' </tr>'
+ '</table>';
curtaincontent3 = '<table border="0" cellpadding="0" cellspacing="0" width="' + screenwidth + '" height="' + screenheight + '">'
+ ' <tr>'
+ ' <td bgcolor="' + curtaincolor3 + '"> </td>'
+ ' </tr>'
+ '</table>';
curtaincontent4 = '<table border="0" cellpadding="0" cellspacing="0" width="' + screenwidth + '" height="' + screenheight + '">'
+ ' <tr>'
+ ' <td bgcolor="' + curtaincolor4 + '"> </td>'
+ ' </tr>'
+ '</table>';
with (document)
{
getElementById('curtain1').innerHTML = curtaincontent1;
getElementById('curtain2').innerHTML = curtaincontent2;
getElementById('curtain3').innerHTML = curtaincontent3;
getElementById('curtain4').innerHTML = curtaincontent4;
}
heightstep = Math.round(widthstep / screenwidth * screenheight);
}
function opencurtain(thisurl)
{
url = thisurl;
with (document)
{
getElementById('body').style.overflow = 'hidden';
getElementById('curtain1').style.visibility = 'visible';
getElementById('curtain1').style.top = -screenheight + 'px';
getElementById('curtain2').style.visibility = 'visible';
getElementById('curtain2').style.left = screenwidth + 'px';
getElementById('curtain3').style.visibility = 'visible';
getElementById('curtain3').style.top = screenheight + 'px';
getElementById('curtain4').style.visibility = 'visible';
getElementById('curtain4').style.left = -screenwidth + 'px';
}
movecurtains();
}
function movecurtains()
{
if (maxmove <= (screenwidth / 2))
{
with (document)
{
getElementById('curtain1').style.posTop += heightstep;
getElementById('curtain2').style.posLeft -= widthstep;
getElementById('curtain3').style.posTop -= heightstep;
getElementById('curtain4').style.posLeft += widthstep;
}
maxmove += widthstep;
setTimeout('movecurtains();', pause);
}
else
{
clearTimeout();
self.location.href = url;
}
}
function openpage(URL)
{
opencurtain(URL);
}
//-->
</script>
</head>
<body id="body" onload="init();">
<div id="curtain1" class="curtain"> </div>
<div id="curtain2" class="curtain"> </div>
<div id="curtain3" class="curtain"> </div>
<div id="curtain4" class="curtain"> </div>
<form action="javascript:void(0);" method="post">
<input name="check" type="radio" value="http://explorer.renmar.de" onclick="openpage(this.value);" /> zur Seite 1 springen<br />
<input name="check" type="radio" value="http://127.0.0.1/html/seite.htm" onclick="openpage(this.value);" /> zur Seite 2 springen
<form>
</body>
</html> |