[TYPO3-english] TypoScript conditions for different firefox versions
StephenBungert
stephenbungert at yahoo.de
Tue Mar 10 11:04:22 CET 2009
Ok. The problem with the browser version is now fixed, I always forget the
extra operator.
[version = <3]
But still, the css is not used when I look at the page in firefox 2
StephenBungert wrote:
>
>
> Hi Peter,
>
> I tried using
>
> [browser = firefox] && [version < 3]
> page.includeCSS {
> file5 = fileadmin/bungert/css/bv4_ff2.css
> file5.media = screen
> }
> [global]
>
> in my ts template but the css is never included.
>
> Is my TS ok?
>
>
>
> Peter Russ wrote:
>>
>> --- Original Nachricht ---
>> Absender: StephenBungert
>> Datum: 09.03.2009 20:45:
>>> Thanks both of you! I know about the conditions, but firefox is not
>>> listed in
>>> the browser conditions section.
>>>
>>> -----
>>
>> Directly mentioned not, but:
>> "Each value is compared with the ($browsername.$browserversion, eg.
>> "netscape4.72") in a strstr().
>> So if the value is "netscape" or just "scape" or "net" all netscape
>> browsers will match.
>> If the value is "netscape4" all netscape 4.xx browsers will match.
>> If any value in the list matches the current browser, the condition
>> returns true."
>>
>> So what ist the signature of Firefox ;-)
>>
>> Regs. Peter.
>>
>> --
>> Fiat lux! Docendo discimus.
>> _____________________________
>> uon GbR
>>
>> http://www.uon.li
>> http://www.xing.com/profile/Peter_Russ
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>
>
>
> -----
> --
> Stephen Bungert
> --
> View this message in context:
> http://www.nabble.com/-TYPO3-english--TypoScript-conditions-for-different-firefox-versions-tp22416530p22430581.html
> Sent from the TYPO3 English mailing list archive at Nabble.com.
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
> -----
> --
> Stephen Bungert
>
-----
--
Stephen Bungert
--
View this message in context: http://www.nabble.com/-TYPO3-english--TypoScript-conditions-for-different-firefox-versions-tp22416530p22430953.html
Sent from the TYPO3 English mailing list archive at Nabble.com.
More information about the TYPO3-english
mailing list