Jérémy
Hi,


I have a problem when i make my own template. I need to use special tag for ie, but Microweber doesn't like it. I have in firefox the error :

TypeError: mw.tools is undefined

var b = mw.tools.calc.SliderButtonsNeeded(mw.liveEditWYSIWYG.ed);

I tested on Chrome and IE9 too, it doesn't work.

I think i found what is the problem : Microweber delete the end of my tag.

My code in template :
<!--[if lt IE 8]>
       <link href="<?php print TEMPLATE_URL; ?>css/bootstrap-ie7.css" rel="stylesheet">
<![endif]-->

When i see source code of result page, i have the same without <![endif]--> : 

<!--[if lt IE 8]>
<link href="http://site.local/userfiles//templates/myTemplate/css/bootstrap-ie7.css" rel="stylesheet">


Thanks,

Jérémy



Comments for Special balise for IE

You have to log in or register to post a comment: