Viewing file: index.php (2.79 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<html>
<head>
<title>OAB</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_showHideLayers() { //v6.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
</head>
<body>
<div id="l1" style="position:absolute; left:100; top:100; width:255px; height:231px; z-index:1; visibility: visible;"><img src="001.gif" width="255" height="231"></div>
<div id="l3" style="position:absolute; left:100; top:100; width:255px; height:231px; z-index:1; visibility: hidden;"><img src="003.gif" width="255" height="231"></div>
<div id="l4" style="position:absolute; left:100; top:100; width:255px; height:231px; z-index:1; background-color: #006600; layer-background-color: #006600; border: 1px none #000000; visibility: hidden;"></div>
<div id="l2" style="position:absolute; left:100; top:100; width:255px; height:231px; z-index:1; visibility: hidden;"><img src="002.gif" width="255" height="231"></div>
<div id="l5" style="position:absolute; left:100; top:100; width:255px; height:231px; z-index:1; background-color: #00CC00; layer-background-color: #00CC00; border: 1px none #000000; visibility: hidden;"></div>
<table width="100%" height="50%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top"> </td>
</tr>
</table>
<br>
<a href="#" onClick="MM_showHideLayers('l1','','show','l3','','hide','l4','','hide','l2','','hide','l5','','hide')">Capa
1</a> - <a href="#" onClick="MM_showHideLayers('l1','','show','l3','','hide','l4','','hide','l2','','show','l5','','hide')">Capa
2</a>- <a href="#" onClick="MM_showHideLayers('l1','','show','l3','','show','l4','','hide','l2','','show','l5','','hide')">Capa
3</a> - <a href="#">Capa 4</a> - <a href="#">Capa 5</a>
</body>
</html>
|