vikraman Posted September 16, 2006 Share Posted September 16, 2006 How can I Disly Text when the curser is at a specific coordinate in the body/image Link to comment Share on other sites More sharing options...
scott100 Posted September 16, 2006 Share Posted September 16, 2006 How can I Disly Text when the curser is at a specific coordinate in the body/imageTo 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now