Introducción a JavaScript

11.19. Ejercicio 19

<!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=iso-8859-1" />
<title>Ejercicio 19 - Utilidades, Tooltip</title>

<script type="text/javascript" src="js/overlib.js"><!-- overLIB (c) Erik Bosrup --></script>
<script type="text/javascript">
overlib_pagedefaults(WIDTH,150,FGCOLOR,'#ffffcc',BGCOLOR,'#666666',TEXTFONT,"Arial, Helvetica, Verdana",TEXTSIZE,".8em",DELAY,250,OFFSETX,15,ABOVE);
</script>
</head>

<body>

<p>Lorem ipsum dolor sit amet, <a href="#" onmouseover="return overlib('Prueba de un tooltip básico y muy sencillo.');" onmouseout="return nd();">consectetuer adipiscing elit</a>. Etiam eget metus. Proin varius auctor tortor. Cras augue neque, porta vitae, vestibulum nec, pulvinar id, nibh. Fusce in arcu. Duis vehicula nonummy orci.</p>

<p>Quisque facilisis, lacus vel adipiscing tempor, neque quam tincidunt ante, sed bibendum velit urna quis ipsum. Aliquam convallis justo at turpis. Sed iaculis dictum neque. Praesent varius augue quis ligula. Suspendisse potenti.</p>

<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Duis non nunc at augue ultrices viverra. Pellentesque tempus. Duis nisi ipsum, condimentum vel, accumsan non, sodales hendrerit, nisi. Aenean vel velit. Proin at massa.</p>

</body>
</html>

Descargar solución completa