Also, the problem with the target is that you are using <use> elements. 
The target object may or may not change depending on the implementation. 
In general it is supposed to return an SVGElementInstance... not an 
SVGElement. ASV 3.x does it wrong and FF does it right. (They do other 
silly things though... but I guess they are only silly depending on how 
you interpret the spec...). So do something like:

psuedo code:
============
var el;
if (evt.target.correspondingUseElement)
   el = evt.target.correspondingUseElement;
else
   el = evt.target;


The correspondingElement property is where things get fuzzy.

Cheers,
Jeff Rafter

david dailey wrote:
> At 12:03 PM 12/13/2005, I wrote:
> 
>>I have sometimes noticed troubles using getBBox() in Firefox, but
> 
> 
> I went looking back through some previous messages and discovered 
> that others had indeed talked about the problem I reported. Sorry for 
> rehashing old news. Perhaps someone will like the solution of waiting 
> 'til the mouse moves to do the screen measuring, though it could be 
> that the recent discussion of "screen extents" provides a better 
> solution -- I read that to deal more with the size of object rendered 
> off-screen than of on-screen content, and confess I didn't follow it 
> very carefully.
> 
> 
> David 
> 
> 
> 
> 
> -----
> 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
> 
> 
> 
>  
> 
> 
> 
> 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/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/
 


Reply via email to