[TYPO3-dev] tiny improvment for includeCSS / JS
Christian Wolff
Chris at connye.com
Sun Sep 30 23:30:39 CEST 2007
>>>
>>> page.includeCSS.file1 = style.css
>>> page.includeCSS.file1.condition = foo
>>>
>>> rendered as:
>>>
>>> <!--[if foo]><link rel="stylesheet" type="text/css" href="style.css"
>>> />![endif]-->
>>>
its a great idea +1
but i think the option name could be clearer to make clear its meand for
contional comment.
maybe we Could solve this problem
page.includeCSS.file1 = style.css
page.includeCSS.file1.conditionalCommentWrap = <!--[if foo]>|![endif]-->
so you cann use downlevel-hidden (<!--[if expression]> HTML <![endif]-->)
and downlevel-revealed (<![if expression]> HTML <![endif]>) conditional
Comments.
maybe we should simply ad a stdWrap feature. so it can be done wis the
normal
.stdWrap.wrap = <!--[if foo]>|![endif]-->
greets chris
--
Christian Wolff // Berlin
http://www.connye.com
Latest Projects:
http://www.flycall.de | http://www.atr24.de | http://www.titanic.de
More information about the TYPO3-dev
mailing list