[latex]Mae govannen![/latex]
Was mir bei deiner Altanative nicht klar ist… was ist 'an'
blocks_an_aus('an','box01','box02','box03','box04');
Einer der beiden Zustände 'an' oder 'aus' nach denen die Funktion (blocks_an_aus) benannt wurde.
Da in der Funktion ohnehin nur auf != 'aus'
geprüft wird, also jeder String, der _nicht_ 'aus' lautet, zum Anzeigen der Elemente führt, könnte dort theoretisch auch 'rosarotmitgelbenpunkten' stehen ;-) (Das wäre aber verwirrend, daher habe ich die logische Alternative 'an' gewählt.
Cü,
Kai
--
Ash nazg durbatulûk, ash nazg gimbatul,ash nazg thrakatulûk, agh burzum-ishi krimpatul
Sacrifice - the future has it's price
And today is only yesterday's tomorrow
selfcode sh:( fo:| ch:? rl:( br:< n4:# ie:{ mo:| va:) js:) de:> zu:) fl:( ss:| ls:?
Ash nazg durbatulûk, ash nazg gimbatul,ash nazg thrakatulûk, agh burzum-ishi krimpatul
Sacrifice - the future has it's price
And today is only yesterday's tomorrow
selfcode sh:( fo:| ch:? rl:( br:< n4:# ie:{ mo:| va:) js:) de:> zu:) fl:( ss:| ls:?