Vida Una Homepage
Forum Home Forum Home > Programación > Códigos html y Dhtml
  New Posts New Posts RSS Feed - Texto que sigue al ratón
  FAQ FAQ  Forum Search   Events   Register Register  Login Login


Texto que sigue al ratón

 Post Reply Post Reply
Author
Message
Programador View Drop Down
Expert@
Expert@
Avatar

Joined: 09 Mayo 2009
Location: San Pedro Alc.
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote Programador Quote  Post ReplyReply Direct Link To This Post Topic: Texto que sigue al ratón
    Posted: 09 Mayo 2009 at 3:01pm
Divertido efecto en el que un texto predeterminado sigue al mouse:
 
<html>
<head><title>Tutores.org</title>

<script type="text/javascript">
function cursor()
{
trail.style.visibility="visible"
trail.style.position="absolute"
trail.style.left=event.clientX+10
trail.style.top=event.clientY
}
</script>

</head>

<body onmousemove="cursor()">

Mueve el cursor por esta pagina

<span id="trail" style="visibility:hidden">Tutores.org</span>

</body>

</html>
Back to Top
Sponsored Links


Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.092 seconds.