I'd like to add some conditional javascripts to my sub-theme using Keith Clark's ie-css3.js, NWMatcher and iePNGFix to help make my theme more backward-compatible.
I'd like to do this the 'Drupal' way, so I'm asking here.
This is the code, as added into /sites/all/themes/my-zen-sub-theme/templates/html.tpl.php just before the < body> tag with all necessary documents placed in their respective places:
<!--[if lt IE 8]>
<script src="/sites/all/libraries/iepngfix/iepngfix_tilebg.js"></script>
<![endif]-->
<script type="text/javascript" src="/sites/all/libraries/NWMatcher 1.2.2.js"></script>
<!--[if (gte IE 5.5)&(lte IE 8)]>
<script type="text/javascript" src="/sites/all/libraries/ie-no-css3.js"></script>
<noscript><link rel="stylesheet" href="" /></noscript>
<![endif]-->
I'd rather add them in the zen-sub-theme.info document instead because it's cleaner, but I don't see a method for calling javascripts conditionally -- only for stylesheets.
Also, I don't see a way to reference /sites/all/libraries or their subfolders within the .info system.