是否可以使用IE条件注释进行重定向? [英] Is it possible to use IE conditional comments to redirect?
本文介绍了是否可以使用IE条件注释进行重定向?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个启动页面,该页面仅塞在IE中,创建解决方法将需要大量的jQuery.有什么方法可以使用IE的条件注释来跳过初始页面并重定向到主页吗?
I've got a splash page which simply jams up in IE, and creating a workaround would require a tremendous amount of jQuery. Is there any way to use IE's conditional comments to skip the splash page, and redirect to the main page?
推荐答案
在条件注释中放入元刷新:
Put a meta refresh inside the conditional comment:
<meta http-equiv="refresh" content="0;url=mainpage-url"/>
这篇关于是否可以使用IE条件注释进行重定向?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文