You cannot do this without any hacker.
Here is a simple CSS cheat:
input {
background-image: url(cursor-anim.gif);
background-position: 4px 50%;
}
input:focus {
background-image: none;
}
But, as others have said, it might be worth asking yourself if this could confuse your users ...
source
share