All pastes #926507 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-03-03 19:01 UTC
rendered paste body
document.write('<style type="text/css">');
document.write('.popper { position: relative; VISIBILITY: hidden; top:200px ')
document.write('#topgauche { position:absolute;  z-index:10; }')
document.write('A:hover.ejsmenu {color:#FFFFFF; text-decoration:none;}')
document.write('</style>')
document.write('<div style="position:relative;height:25"><DIV class=popper id=topdeck></DIV>');
/*
SCRIPT EDITE SUR L'EDITEUR JAVACSRIPT
http://www.editeurjavascript.com
*/

/*
LIENS
*/
zlien = new Array;
zlien[0] = new Array;
zlien[1] = new Array;
zlien[0][0] = '<a href="index.php?news">News</a>';
zlien[0][1] = '<a href="index.php?histoire">histoire</a>';
zlien[1][0] = '<a href="joueurs.php?gtadore">gtadore</a>';
zlien[1][1] = '<a href="joueurs.php?zecko">zecko</a>';
if(document.getElementById)
	{
	skn = document.getElementById("topdeck").style
	skn.top = 200;
	}

function pop(msg,pos)
{
skn.visibility = "hidden";
a=true
skn.top = pos;
var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR=#000000 WIDTH=150><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=1>";
pass = 0
while (pass < msg.length)
	{
	content += "<TR><TD HEIGHT=20><FONT SIZE=1 FACE=\"Verdana\">&nbsp;&nbsp;"+msg[pass]+"</FONT></TD></TR>";
	pass++;
	}
content += "</TABLE></TD></TR></TABLE>";
document.getElementById("topdeck").innerHTML = content;
skn.visibility = "visible";
}
function kill()
{
	if(document.getElementById)
		skn.visibility = "hidden";
}
document.onclick = kill;
if(document.getElementById)
	{
	document.write('<DIV ID=topgauche><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100 HEIGHT=40><TR><TD><TABLE CELLPADING=0 CELLSPACING=1 BORDER=0 WIDTH=100% HEIGHT=40>')
document.write('<tr><TD WIDTH=100 ALIGN=center onMouseOver="pop(zlien[0],0)"><FONT SIZE=1 FACE="Verdana">accueil</FONT></TD></tr>')
document.write('<tr><TD WIDTH=100 ALIGN=center onMouseOver="pop(zlien[1],20)"><FONT SIZE=1 FACE="Verdana">joueurs</FONT></TD></tr>')
	document.write('</TABLE></TD></TR></TABLE></DIV>')
	}
document.write('</div>');