Changing HTML content

Hi,

I have recently started with SVG, and it's quite interesting but recently I
have encountered a "problem". I have put problem between quotes because I
don't know whether it's a problem or a limitation. What I have made so far
is an svg file in which I draw an invisible rectangle to respond to
mousemovement. On the mousemovement event I let a circle follow my mouse
pointer. I have embedded this svg file in a HTML page with <object data="
file.svg" width="600" height="600" type="image/svg+xml"/>. So far so good, I
get a 600 by 600 area in which a circle follows my mousepointer.
What I want to do now is display some text on my HTML depending on the
position of the mouse. I have already tried to read my mouse coordinates,
but I came to the conclusion that I couldn't get the mousecoordinates (with
methods within my knowledge) when the mousepointer got over that 600 by 600
area.
Is it possible to let my svg file give the coordinates to my HTML page or is
there some way to read the coordinates with some other method? Or even
better, is it possible to change the text in certain areas in my HTML file
within my SVG doc?

Received on Wednesday, 1 February 2006 22:47:55 UTC