Hi Jololivier,

The code you posted does not work in Chrome. Please help me how I could make it 
work there?

It works fine with FF and IE.

Thank you,
--Pradeep

--- In svg-developers@yahoogroups.com, "jololivier" <jerome.olivier@...> wrote:
>
> 
> Hi,
> you have to "connect" svg funtion and javascript function in the init 
> event of your SVG tag.
> 
> For example, you want to call the svg function svgToto from 
> javascript :
> 
> 
> javascript (in the "main" page) :
> function toto (param1, param2)
> {
>       window.htmlToto(param1, param2);
> }
> 
> 
> Svg (in the svg embeg page):
> function svgToto (param1, param2)
> {
>       ...
> }
> 
> function init(evt)
> {
>       parent.htmlToto=svgToto;
> }
> 
> 
> When you call toto (param1, param2) in your "main" page, svgToto is 
> launch.
> 
> 
> 
> --- In svg-developers@yahoogroups.com, "Alex Ost." <alexost@h...> 
> wrote:
> > 
> > Hi,
> > 
> > It is easy to call a JS function defined in HTML from embedded SVG
> > But, how do I do it when the function is defined in SVG and the 
> call 
> > should be from the html side or even from other frame?
> > 
> > Help will be gratitude.
> > 
> > 10x in advanced
>




------------------------------------

-----
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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:
    svg-developers-dig...@yahoogroups.com 
    svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    svg-developers-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to