[symfony-users] Re: Declaring javascript or css files in html head section using IF blocks (
Hello,
Use condition in your view .yml
Example :
http://trac.symfony-project.org/browser/branches/1.2/test/functional/fixtures/project/apps/frontend/config/view.yml
Tonio
On Mar 25, 1:03 pm, dsb <[email protected]> wrote:
> Hi All,
>
> I was just wondering how to get the following html output in the
> template.
>
> For css
>
> <!--[if IE 6]>
> <link href="/css/mystyle-ie6.css" rel="stylesheet" type="text/css" />
> <![endif]-->
>
> For javascript
>
> <!--[if IE 6]>
> <script type="text/javascript" language="javascript" src="/js/
> myJS_IE6.js"></script>
> <![endif]-->
>
> Thanks for your help.
> Dj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---
- [symfony-users] Declaring javascript or css files in html head... dsb
- [symfony-users] Re: Declaring javascript or css files in ... Tonio
