如何将自定义代码添加到标头
如何将以下行添加到组件中的标题中?
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="js/excanvas.min.js"></script><![endif]-->
How can I add the following line to the header, in a component?
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="js/excanvas.min.js"></script><![endif]-->
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不确定它是否适用于任何文本,但您可以尝试:
我希望它会有所帮助。
Not sure if it will work with any text, but you could try:
I hope it will be helpfull.
您可以使用:
我正在搜索如何添加条件语句...
更新
检查用户代理是否是 IE
You can use :
I am searching for how to add the conditional statement though ...
UPDATE
Checking if the user agent is IE