> Sent: Thursday, June 02, 2005 1:52 PM
> Subject: Re: [svg-developers] tree and svg
>
>
>
> what about
> function findAllChild()
> {
> getChild(document.getElementById('mySVG');
> getChild(document.getElementById('myClonedSVG');
>
ok but when u don't know the ids how do u do
- Original Message -
From: Jérôme Tricand de la Goutte
To: svg-developers@yahoogroups.com
Sent: Thursday, June 02, 2005 1:52 PM
Subject: Re: [svg-developers] tree and svg
what about
function findAll
hen there are many parents
> - Original Message -
> From: Jérôme Tricand de la Goutte
> To: svg-developers@yahoogroups.com
> Sent: Thursday, June 02, 2005 11:43 AM
> Subject: Re: [svg-developers] tree and svg
>
>
> Hi Erwan,
>
> What kind of information do you
this code traverse only a parent to his children but how to
when there are many parents
- Original Message -
From: Jérôme Tricand de la Goutte
To: svg-developers@yahoogroups.com
Sent: Thursday, June 02, 2005 11:43 AM
Subject: Re: [svg-developers] tree and svg
Hi Erwan
Hi Erwan,
What kind of information do you plan to get with your functions?
but if you want a recursive function, try this
function getChild(obj)
{
$tab=obj.childNodes;
if($tab.length!=0)
for $i=0; $i<$tab.length; $i++)
getChild($tab.item($i));
else
alert('No C
i' m looking for a code which read a svg children by children with
recursivity
[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! G
6 matches
Mail list logo