
19/03/2011, 19:38
|
| | Fecha de Ingreso: septiembre-2010
Mensajes: 37
Antigüedad: 14 años, 5 meses Puntos: 0 | |
Respuesta: popup Hola
bueno la verdad no se mucho de java pero encontre este codigo: que muestra una tabla con el contenido que quieras, imagen texto y puedes personalizar la tabla para que se vea como quieras.
el ejemplo muestra una imagen y unos textos, si quieres mas imagenes añades mes ejemplos (busca en el codigo"ejemplo1").
Este es el codigo espero te sirva:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<style>
#ejemplo1 {
position:absolute;
text-align:center;
visibility:hidden;
z-index:10;
}
.Estilo20 {
font-family: "Century Gothic";
color: #333333;
}
</style>
<SCRIPT LANGUAGE="JavaScript">
function ver_ejemplo(user,ValueShow) {
var mousex = window.event.x;
var mousey = window.event.y;
user.style.visibility = ValueShow;
user.style.left = mousex + 5;
user.style.top = mousey;
}
</script>
</HEAD>
<BODY>
<br>
<table border="1" cellspacing="2" cellpadding="1">
<tr>
<td>
<a onmouseover="ver_ejemplo(ejemplo1,'visible')" onmouseout="ver_ejemplo(ejemplo1,'hidden')">
<img src="imagen1.jpg" width="202">
</a>
</td>
</tr>
</table>
<div id="ejemplo1">
<table border="no" width="148">
<tr valign="middle">
<td height="98" align="center"> <img src="imagen1.jpg" width="302"><p><span class="Estilo20">REFERENCIA:TR45<br>
PRECIO:$540000<br></span>
</td></tr></table>
</div>
</body>
</html> |