Hi David,
  Thanks! I found how to use onresize. 

1)Put in the script, before the functions:
window.onresize=handleResize;

2)write a function:
function handleResize(){ ...}

It works as a charm. Cheers, Samy

--- In [email protected], "ddailey" <[EMAIL PROTECTED]> wrote:
>
> Samy,
> 
> I see the problem as well in FF1.5. (IE/ASV detects the event just 
fine. as does Opera). FF1.5 has no problem with the event in HTML 
(either in the body or in a frameset), but just doesn't seem to like 
it in the <svg> tag. Perhaps it is a bug; perhaps there is a theory 
of interpretation of the rules that argues that onresize does not 
belong to top level elements.
> 
> David
>   ----- Original Message ----- 
>   From: Samuel Dagan 
>   To: [email protected] 
>   Sent: Wednesday, January 10, 2007 8:23 AM
>   Subject: [svg-developers] onresize event handler
> 
> 
>   With FireFox2 I am trying to use the event handler 
>   "onresize" in a following way:
> 
>   <svg ... width="100%" height="100%" 
>   viewBox="-100 -90 1000 690" 
>   onresize="handleResize(evt);" ... >
> 
>   but the function handleResize(evt) is not called on 
>   resizing the viewport. Am I missing something?
> 
>   According to 
>   https://bugzilla.mozilla.org/show_bug.cgi?id=229200
>   a bug concerning "onresize" was fixed on April 2003.
> 
>   thanks, Samy
> 
> 
> 
>    
> 
> [Non-text portions of this message have been removed]
>




-----
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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