Browser independent javascript
-
Hi all, I need a suggestion to solve the below problem. intXOffset = window.event.offsetX; intYOffset = window.event.offsetY; the above code works good in IE but not in any other browsers :( how to write a browser independent javascript for this. Also there is a problem with this code. The function containing this code is called onLoad of the body and onclick of a image. Also any one suggest me a URL from where i can learn browser independent javascript. Thanks in advance :)
Know is Drop, Unknown is Ocean
-
Hi all, I need a suggestion to solve the below problem. intXOffset = window.event.offsetX; intYOffset = window.event.offsetY; the above code works good in IE but not in any other browsers :( how to write a browser independent javascript for this. Also there is a problem with this code. The function containing this code is called onLoad of the body and onclick of a image. Also any one suggest me a URL from where i can learn browser independent javascript. Thanks in advance :)
Know is Drop, Unknown is Ocean