----- Original Message ----- 
From: "Erwan TROEL" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, November 04, 2005 12:31 PM
Subject: Re: [svg-developers] parent is not defined svg/html


> top.getURL() doesn't work yet
>
>
>
> ----- Original Message ----- 
> From: "Jonathan Watt" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, November 04, 2005 12:22 PM
> Subject: Re: [svg-developers] parent is not defined svg/html
>
>
>> Hi,
>>
>> On 11/4/05, Erwan TROEL <[EMAIL PROTECTED]> wrote:
>>>
>>> i embed a svg in an html page
>>> with the fucntion emitSVG
>>>
>>> in my svg i link a javascript file:
>>> <script xlink:href="../../../init.js" language="JavaScript" />
>>>
>>> in this javascript file i write
>>> alert(parent.getURL())
>>>
>>> i have an error message: parent is not defined
>>>
>>> help help i really don't understand why
>>>
>>
>> Adobe removed support for |parent| for a security reason I believe. For
>> some
>> reason |top| still remains, so use that instead.
>>
>> alert(top.getURL());
>>
>> If you are interested in getting scripts to communicate between HTML and
>> embedded SVG you may find the following examples useful.
>>
>> http://jwatt.org/svg/demos/scripting-across-embed.html
>> http://jwatt.org/svg/demos/scripting-across-object.html
>>
>> -Jonathan
>>
>>
>> [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 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/A77XvD/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