--- In [email protected], "tamsvg" <[EMAIL PROTECTED]> wrote: > > Hi to all! > > I need to get the mouse coordinates of my svg doc (0,0 is in the left > upper corner). I call a function mouseClick(evt) when the user clicks > on my svg. > > How can I get the x and the y coordinate? My svg is in an embed object > included in a html page. If I use evt.clientX(), what coordinate do I > get then? Only the x from my svg or from the html? How can I get it > from the svg? > > Thanks for helping > Katharina >
Hi. If function mouseClick(evt) is inside svg, then evt.clientX() shows svg coordinate. ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

