[Typo3] PNG CSS background-image in typo3
ben van 't ende [netcreators]
ben at netcreators.nl
Wed Nov 23 12:39:15 CET 2005
dieter orens wrote:
> Does anybody know a nice hack for using png background images through CSS in
> typo3.
>
> I tried including a js in my header. But in typo3 those if - tags seem to be
> ignored when using templavoila? or am I wrong?
> <!--[if IE]><script language="JavaScript"
> src="http://www.dio5.com/fileadmin/js/PngIeHack.js" type="text/JavaScript">
> </script><![endif]-->I can only include the script... but the if -
> statements fall out when Adding parts from HTML header.
HI Dieter,
We do it like this:
# sleight.js===============
page.headerData.3 = TEXT
page.headerData.3.value (
<script type="text/javascript"
src="fileadmin/scripts/sleight.js"></script>
)
Probably you didn't use the proper TypoScript.
gRTZ
ben
--
netcreators :: creation and innovation
www.netcreators.nl - www.typo3.nl
More information about the TYPO3-english
mailing list