View Single Post

  #8 (permalink)  
Old 04-25-2005, 07:57 AM
ioiufo
Guest
 
Posts: n/a
Default input/output by keyboard

YOU ARE GREAT!!!!!! I MUST DO A STATUE!!!!

However, the problem remain... This is a piece of my code
function addbird(evt)
{
/* var svgobj = evt.target;
var svgdoc = evt.target.ownerDocument();*/
var newbird = evt.target.cloneNode(false); I tried to do directly this one,but nothing!
svgstyle = newbird.getStyle();
..........
I also added the ns url (<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink")
But the problem is the same: method not supported!!!!! The raw "var svgobj = evt.target" is ok. Where I can find the list of methods supported?
With love ( :wink: )
Fabiana
Reply With Quote