Mouse Cordinates in NS4

Posted on 1998-12-02
Last Modified: 2010-04-09
I´m trying to capture the clients mouse x and y cordinates using J-Script combinated with DHML(IE4) or Layers(NS4). I´ve found a way to do so in IE4 (event.clientX) but I haven´t found any way to do so in NS4.
Please help me solve this problem.
Question by:anas2
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3

Author Comment

ID: 1840158
Edited text of question

Author Comment

ID: 1840159
Edited text of question
LVL 28

Accepted Solution

sybe earned 200 total points
ID: 1840160
This code shows the XY coordinated in the window.status in Netscape

<LAYER NAME="Water" TOP=0 LEFT=250 text="#000000" BGCOLOR="#FFFF00" height="99%" width="50%" onMouseOut="window.status=''">
function MoveEvent(e) {
      window.status=e.pageX + "," + e.pageY;
      return false;

// capturing events for the "water" layer

var layWater = document.Water;

function resetcapture() {
layWater.onMouseMove = mouseWaterMoveHandler;

function mouseWaterMoveHandler(e) {


Author Comment

ID: 1840161

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Technology Resume 7 88
SVG and IE11 2 34
CSS Scroll Center with Static Side. Like EE does. 2 46
Why is my select returning NaN 23 39
This article discusses how to create an extensible mechanism for linked drop downs.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question