my dog learned polymorphism*
The moose likes HTML, CSS and JavaScript and the fly likes What changes do i need to make to work in all other browsers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "What changes do i need to make to work in all other browsers" Watch "What changes do i need to make to work in all other browsers" New topic
Author

What changes do i need to make to work in all other browsers

Chennarao Marvatu
Ranch Hand

Joined: Aug 09, 2004
Posts: 32
Hi Friends ,
I have written some code that gives the image cooardinates when when i click
on the image.butThis code is working only in IE . This code should wotk in all the browsers like NS,mac etc..what changes i have to make in this code.
please help me out..

Thanks in advance
Chennarao

function klikk()
iX = window.event.offsetX;
iY = window.event.offsetY;


mchrao
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
This is how I would do it:


Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: What changes do i need to make to work in all other browsers
 
Similar Threads
writing from applet to a directory in server
clustering-code changes
Changes donot take place..!
Struts2 updating issue in IE browsers
Session