--- In svg-developers@yahoogroups.com, Cameron McCormack <cam-svg-
[EMAIL PROTECTED]> wrote:
> Hi algornik7.
> 
> algornik7:
> >       shape.setAttribute("xlink:href","some_pic.jpg");
> 
> You need to use a namespace for this attribute:
> 
>   shape.setAttributeNS
>     ("http://www.w3.org/1999/xlink";, "xlink:href", "some_pic.jpg");
> 
> -- 
>   e-mail : cam (at) mcc.id.au         icq : 26955922
>      web : http://mcc.id.au/          msn : cam-msn (at) aka.mcc.id.au
>   office : +61399055779                    jabber : heycam (at) 
jabber.org

I found my mistake, i didn't write 
var shape = svgDocument.createElementNS(null, "image"); 

Thank you very much!!!:)




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/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