* chandrasekar s wrote:
>wats the problem with the simple code below... why is the java 
>script not working?? any other way to solve the purpose...
>
>
><svg onload="init(evt)">

This lacks two attributes, xmlns="http://www.w3.org/2000/svg"; and
version="1.1".

><script language="JavaScript" type="text/javascript">

The language attribute is not allowed here, and some viewers do not
support the obsolete text/javascript media type. Try the obsolete
text/ecmascript media type.

>function init(e)
>{      if(window.svgDocument == null)
>       svgDocument = e.target.ownerDocument;

I don't think implementations must support this manipulation of host
objects.

>  }
>function onmouseover(e)
>{
>window.open("http://www.yahoo.com","mywindow";);

There is no 'window' property of the global object, in fact, SVG does
not define what the global object might be. So there is no "open()"
method either.

>}
></script>
-- 
Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/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