[TYPO3-core] RFC: Bug #6421: Introducing IECondition for TypoScript
ben van 't ende [netcreators]
ben at netcreators.com
Tue Oct 30 14:17:49 CET 2007
Benjamin Mack wrote:
> Hey all,
>
> this is a SVN patch request.
>
> Type: Feature
>
> BT: http://bugs.typo3.org/view.php?id=6421
>
> Branches: Trunk
>
> Problem:
> If you want to add so called browser conditions for the IE like
> <!--[if IE 7]>
> <link rel="stylesheet" type="text/css" href="fileadmin/style.css" />
> <![endif]-->
>
> you always had to do this manually (e.g. through a HeaderData object).
>
> Solution:
> Add a new property to page.includeCSS. With
> page.includeCSS.file1 = fileadmin/styles.css
> page.includeCSS.file1.ieCondition = IE 7
>
> you'll get the result as above.
>
> Notes:
> Thanks for Steffen Kemper for writing the initial patch and testing my
> version :).
+1 from me too. nice solution ;-)
gRTz
ben
--
netcreators :: creation and innovation
www.netcreators.com - www.TYPO3.nl
Interesse in werken bij Netcreators?
http://www.netcreators.com/bedrijf/vacatures/
More information about the TYPO3-team-core
mailing list