<html>
<head>
<title>Sin título</title>
<script type="text/javascript" language="JavaScript">
var explanation = new Array()
explanation[3] = new Array ("INFORMATION.","+3",100,0,"white","3DBBC4",250 );
ns = (document.layers)? true : false;
ie = (document.all)? true: false;
function display(a,event){
if (a>explanation.length-1){alert("You tried to access an explanation which is not defined!."); return}
//a=welches Array event; nur fuer NS
if (ns) layer_to_display_in = document.output;
if (ie) layer_to_display_in = output.style;
if (ns) {layer_to_display_in.visibility = "show" ;//Ausgabelayer wird eingeblendet
layer_to_display_in.left = event.pageX+explanation[a][2];
layer_to_display_in.top = event.pageY+explanation[a][3];// Position relativ zum Klickereignis
with(document.layers["output"].document){ // Ausgabetext
open();
write("<b><font size="+explanation[a][1]+" color="+explanation[a][4]+">"+explanation[a][0]+"</font></b>");
close();
bgColor=explanation[a][5]}
}
if (ie) { layer_to_display_in.visibility = "visible";
if (isNaN(explanation[a][1])) alert("Something is wrong with the input of the text size.\n\nPlease check.")
//(which_size>300)?which_size=300:which_size=which_s ize; // which_size hier max. 300px
layer_to_display_in.pixelWidth=explanation[a][6];
layer_to_display_in.left=window.event.clientX+expl anation[a][2];
layer_to_display_in.top = window.event.clientY+explanation[a][3];
layer_to_display_in.backgroundColor=explanation[a][5]
document.all["output"].innerHTML ="<b><font size="+explanation[a][1]+" color="+explanation[a][4]+">"+explanation[a][0]+"</font></b>";}
}
function hide_layer() {
if (ns) layer_to_display_in.visibility = "hide" ;
else if (ie) layer_to_display_in.visibility = "hidden"}
</script>
<script language="JavaScript">
/*******************************
Otra forma de abrir ventanas 2. Por Carlitos. [email protected]
Si usas este script, deja intactas estas líneas (créditos). Vale?
También te agradecería un e-mail con tus comentarios.
*******************************/
function abrir()
{
ancho = 300
alto = 300
pagina = "pagina.htm"
t = -alto
l = (screen.width-ancho)/2
tf = (screen.height-alto)/2
ventana=window.open("http://mx.geocities.com/ocielsanchez/AC_AMAZING_COMIC_2.HTML","HomeMM","width=500,heigh t=240")
for (t;t<=tf;t+=1) ventana.moveTo(l,t)
}
</script>
</head>
<body bgcolor="black" text="white">
<br><br><br><br><br>
<CENTER>
<A HREF="http://mx.geocities.com/ocielsanchez/AC_AMAZING_COMIC_2.HTML" target="_blank" onMouseOver="display(3,event)"
onMouseOut="hide_layer()">
<div style="color:red; font-size:x-large; font-family:Arial Black">
<font color="red">AC AMAZING COMIC</font></div>
</A>
</CENTER>
<br><br><br><br><br>
<CENTER>
<a href="javascript:abrir()">
<div style="color:red; font-size:x-large; font-family:Arial Black">
<font color="red">AC AMAZING COMIC</font></div>
</a>
</CENTER>
<br><br><br><br><br>
<div ID="output" STYLE="POSITION:absolute; TOP:0px; LEFT:0px; visibility: hidden">
</div>
</body>
</html>