Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/04/2006, 16:44
Avatar de KarlanKas
KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 1 mes
Puntos: 61
Quieres algo así?

Código:
<html>
<head>
<style>
.capas{
border:solid 1px black; 
width:60px;
position:absolute;
top:10px;
text-align:center;
overflow:hidden;
}
#segunda{
left:90px;
}
#primera{
left:10px;
}
</style>
<script>
function pasar(esta){
destino=(esta.parentNode.id=="primera")?"segunda":"primera";
d=document.getElementById(destino);
esta.parentNode.removeChild(esta);
d.insertBefore(esta,d.lastChild);
}
</script>
	<title>Untitled</title>
</head>

<body>
<div id="primera" class="capas">
<img ondblclick="pasar(this)" src="http://www.forosdelweb.com/image.php?u=118472&dateline=1136475897">
<img ondblclick="pasar(this)" src="http://www.forosdelweb.com/image.php?u=49448&dateline=1140602880">
<img ondblclick="pasar(this)" src="http://www.forosdelweb.com/image.php?u=107239&dateline=1130103810">
</div>

<div id="segunda" class="capas"></div>
</body>
</html>
__________________
Cómo escribir

No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.