JavaScript Mouse Position Mozilla Firefox

    Date: 03/22/05 (Mozilla)    Keywords: java, google

    I seem to be having trouble finding a working answer on any of the pages I've found using google. Let's say I've got a javascript function bob(). when the is clicked, I want the function bob() to alert the current x and y of the mouse. It works on IE as alert(event.x) and alert(event.y), but it doesn't work in Mozilla Firefox as any of the functions that I've been given. For example, e.clientX or e.pageX do nothing for me. What's the javascript code to return the mouse positions in Firefox?

    X-posted in c0mp_g33ks

    Source: http://www.livejournal.com/community/mozilla/265188.html

« Recent Mozilla convert || Thanks so much »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home