Hi Claudius,

great Thnx !! probiere das gleich.

MfG
J. Schwalenberg
______________________
www.udex.de
www.ultradevextensions.de
[EMAIL PROTECTED]
______________________
Think big - UDEX Software !
Software & Extensions for Dreamweaver Ultradev & MX
----- Original Message ----- 
From: "Claudius Ceteras" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 3:42 PM
Subject: RE: [Coffeehouse] Javascript Frage 2 ?


> > Hi Leute,
> > 
> > ich m�chte folgendes Problem vereinfachen:
> > 
> > ich habe eine Node Anweisung > 
> > 
> > if (node.nextSibling.style.display == 'none')
> > {
> > ....
> > }
> > 
> > Es kann aber auch passieren, dass ich erst die �bern�chste 
> > Node aufrufen will, also >
> > 
> > if (node.nextSibling.nextSibling.nextSibling.style.display == 'none')
> > {
> > ....
> > }
> > 
> > Frage: Kann ich die Angabe welche Sibling ich aufrufen m�chte 
> > irgendwie vereinfachen , oder sogar mit einer Zahl z.B. 
> > nextSibling(2) oder so l�sen ??
> 
> var anzahl = 2;
> var theNode = node;
> for(var i=0; i<anzahl; i++)
> theNode = theNode.nextSibling
> if (theNode.style.display == 'none')
> {
>  ....
> }
> 
> 
> Claudius
> 
> _______________________________________________
> Coffeehouse mailing list
> [EMAIL PROTECTED]
> http://www.glengamoi.com/mailman/listinfo/coffeehouse
> 

_______________________________________________
Coffeehouse mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/coffeehouse

Antwort per Email an