metanohi-misc-subsites/old-projects/x/slide.htm

79 lines
2.5 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3c.org/1999/xhtml">
<head>
<title>Slide</title>
<style type='text/css'>
body {font-family:arial; font-size:14px}
p {}
p.slide {margin:0; padding:3px; background-color:#ffff00; border-width:1px 1px 0 1px; border-style:solid; border-color:#bbb; width:294px; text-align:center; cursor:pointer}
p.slide:hover {background-color:#ffde00}
div.slide {padding:0 3px; border-width:0 1px 1px 1px; border-style:solid; border-color:#bbb; width:294px; overflow:hidden; height:0}
</style>
<script type='text/javascript'>
h=0
function slide(sopens) {
slider=document.getElementById("slider")
slider.style.padding="3px"
slider.style.borderWidth="1px"
scrh=document.getElementById("slider").scrollHeight
if (sopens) {
slideopenload()
slider.onclick=function(){slide(false)}
}
else {
slidecloseload()
slider.onclick=function(){slide(true)}
}
return scrh
}
function slideopenload() {
slideopen()
}
function slidecloseload() {
nh=scrh
slideclose()
}
function slideopen()
{
document.getElementById("slider").style.height=h+"px"
if (h<scrh)
h=h+5
else
{
document.getElementById("slider").style.height=scrh-6+"px"
clearTimeout(a)
}
a=setTimeout("slideopen()",1)
}
function slideclose()
{
document.getElementById("slider").style.height=nh+"px"
document.getElementById("a").innerHTML=document.getElementById("a").innerHTML+"+"+nh+"fg"
if (nh>0)
nh=nh-5
else
{
document.getElementById("slider").style.height="0"
clearTimeout(bqc)
}
bqc=setTimeout("slideclose()",1)
}
</script>
</script>
</head>
<body>
<p class='slide' id='a' onclick='slide(true)'>Internet destroyed by coakcroch</p>
<div class='slide' id='slider'>
Today at 02:52:12 AM the internet suddenly stopped working and the police has now found out that Charlie Coakcroch, a dangerous bug, has destroyed the internet. "It all started back in the 60's, where we were developing DARPA on to the next level. It was never supposed to have happened, but one night a burglar stole our most important object: our coakcroch." former internet king Norman Hulk says. "Back then we were sure that biological internet would be the right solution. However, as our coakcroch didn't return, we filed the case and moved on to making the perfect internet another way. That way Charlie Coakcroach became a bug in our system, and we knew he would destroy the internet if he got a chance. I' so sorry."
</div>
</body>
</html>