The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.javascript
From: "Fabian Lenzen" <fabian.len...@web.de>
Date: Fri, 16 May 2008 14:25:21 +0200
Local: Fri, May 16 2008 8:25 am
Subject: offsetParent and XUL/SVG
Hi,
I’m creating a web application using XUL and SVG. My problem: I’ve tried to draw for example a dot where the user clicks in the SVG area. I get the clientX/Y-data of the event, but I also have to determine the coordinates of the SVG-area in the XUL-document. I was said to use offsetParent, offsetLeft and offsetTop. Unfortunately, Firefox (the only browser I know that supports XUL) doesn’t provide these properties in other document types than HTML. Is there another way to find out the coordinates of the mouse click in the SVG-coordinate system? Fabian. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||