Recursive hide behavior

From: Date: Mon, 28 Feb 2000 18:11:47 +0000
Subject: Recursive hide behavior
Groups: php.template 
Request: Send a blank email to php-template+get-231@lists.php.net to get a copy of this message
Another design question: Let's say you have the following situation: {{section sec1 autohide="on"}} Category: {{ $category }} {{section sec2 autohide="on"}} Article: {{ $article_headline }} {{/section sec2}} {{/section sec1}} If the $article_headline variable has no value, section 'sec2' will be hidden. The question is, should section 'sec1' be hidden as well? Intuitively, for this particular example, it seems that it should be. However, I'm not sure how far up the section chain it should propagate. Any ideas on this? -Andrei "Claiming Java is easier than C++ is like saying that K2 is shorter than Everest." -- Larry O'Brien (editor, Software Development)

« previous php.template (#231) next »