Article View: pl.comp.lang.php
Article #219846Re: [PHPTAL] tal:repeat klasa dla pierwszego elementu
From: Paweł Piskorz
Date: Fri, 24 Jul 2009 13:41
Date: Fri, 24 Jul 2009 13:41
14 lines
1282 bytes
1282 bytes
d. pisze:
> <div tal:repeat="dailynews dailynewsArticles" tal:attributes="class
> php: repeat.dailynews.first ? 'dailynews first' : 'dailynews'">
repeat.dailynews.start
http://phptal.org/manual/en/split/tal-repeat.html
Poza tym olej IE6 i użyj CSSowego :first-child ;)
--
message[autor="PablO"]::after {
content:"Pozdrawiam";
}
Technical Details
Message-ID:
<h4cdm0$bi$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<4a6969cc$1@news.home.net.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: Paweł Piskorz <nie.ma.maila@psikre.nie?> Newsgroups: pl.comp.lang.php Subject: Re: [PHPTAL] tal:repeat klasa dla pierwszego elementu Date: Fri, 24 Jul 2009 15:41:27 +0200 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 14 Message-ID: <h4cdm0$bi$1@inews.gazeta.pl> References: <4a6969cc$1@news.home.net.pl> NNTP-Posting-Host: 83-238-228-157.adsl.inetia.pl Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1248442880 370 83.238.228.157 (24 Jul 2009 13:41:20 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Fri, 24 Jul 2009 13:41:20 +0000 (UTC) X-User: uhorek In-Reply-To: <4a6969cc$1@news.home.net.pl> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.6.666 Hamster/2.1.0.11 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit