What We Do
We provide top quality services and best solutions based on your requirements and needs.
Share

CSS Conditional Comments on MXAE

Conditional comments make it easy for developers to take advantage of the enhanced features offered by Microsoft Internet Explorer 5 and later versions, while writing pages that downgrade gracefully in less-capable browsers or display correctly in browsers other than Windows Internet Explorer. Conditional comments are the preferred means of differentiating Cascading Style Sheets (CSS) rules intended for specific versions of Internet Explorer.
Below is the sample of writing IE Conditional Comments for IE7. More about Conditional Comment, please go to: http://msdn.microsoft.com/en-us/library/ms537512(v=vs.85).aspx

<!--[if IE 7]><link href="style.css" media="all" rel="stylesheet" type="text/css" />
<![endif]-->


You can’t write Conditional Comments  purely in MXAE because it will provide error.  The problem is tag for IE Conditional Comments same like tsl tag. To make sure it run on MXAE you need to apply string replace.  Below is string replaced for IE Conditional Comments on tsl tag.

<!--[general echo="<!\-\-[if IE 7]><link href=\"style.css\" media=\"all\" rel=\"stylesheet\" type=\"text/css\" />
<![endif]\-\->" function="str_replace,'\-\-','--',#self#"]-->

 

MXAE Release News

MXAE 2.7.5 Released
We would like to announce the immediate availability of MXAE 2.7.5. This release focuses on...




Tips & Tricks

Custom Attributes
You can actually define your own custom attributes and access it via the MXAE API. This is good...




MXAE Free Hosting

We are offering FREE hosting on MXAE platform with no string attached. You can use it as a development or demo hosting for your company. You can also use it to build your own website or host your client website.