Jump to content

Text Disply


vikraman

Recommended Posts

How can I Disly Text when the curser is at a specific coordinate in the body/image
To get the co-ordingates: http://www.w3schools.com/js/tryit.asp?file...ry_dom_event_xyThen add a statement like this to the javascript.
if ((x==55)&&(y==70))document.getElementById('blah').style.display="block";
then in the body have<div id="blah" style="display:none">hello</div>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...