Code for specific browsers within templates
If you want to use a specific code for a specific browser you usually use a code like this (in this example we use IE6):
<!--[if lte IE 6]>html to be used just on IE 6<![endif]-->
Within the myShop.com templates this code will not work, the import module will not take up everything what is between <!--
and ->
. To resolve this problem we created the extension myshop-macro-start/end, which will replace the condition tags. An example of this code is:
<meta name="myshop-macro-start" content="if lte IE 6"/>html to be used just on IE 6<meta name="myshop-macro-end" content="endif"/>
This code has the same function as the code mentioned first above, but only in the myShop.com templates.
Post your comment on this topic.