我正在用 IE8 敲我的脑袋(疯了,为什么这个浏览器仍然在使用)。
我正在使用 Angular.js 和 bootstrap 构建一个应用程序,IE8 asswell 应该支持它。
我的应用程序与 chrom、FF、IE10 和 IE9 完美配合,我在 index.html 的标签处贴上了标签:
<!--[if lte IE 8]>
<script src="js/json3.js" type="text/javascript"></script>
<![endif]-->
<!--[if lte IE 8]>
<script>
document.createElement('login');
document.createElement('register');
document.createElement('change-details');
document.createElement('tooltip-popup-delay');
document.createElement('tooltip');
document.createElement('datepicker-popup');
</script>
<![endif]-->
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
我有一个指令(登录),它有一个带有登录模式的 templateUrl。
然后我像这样使用它:
<div ng-show="showNav" ng-controller="NavCtrl">
<login></login>
<register></register>
.....
.....
这是我的登录模式的一部分(它是在 templateUrl 指令中的 login.html):
<div modal="shouldBeOpenLogin" close="closeModalLogin()" options="opts">
<div class="modal-header">
<button ng-disabled="disableButtons" type="button" ng-click="closeModalLogin()" class="close pull-right">×</button>
<h3 style="text-align:center">{{loginHeader}}</h3>
</div>
<div class="modal-body">
<div class="waitLogin" ng-show="showSearching">
<h5> please wait <progress percent="dynamicObject" class="progress-striped active"></progress><h5>
</div>
<form ng-submit="login(loginForm)" name="loginForm" class="form-horizontal">
<div ng-show="showLoginFields" class="control-group">
<label class="control-label">username</label>
<div class="controls">
<input type="email" ng-model="login.username" placeholder="email" title="please enter this field">
</div>
</div>
.....
现在由于一些不为人知的原因,似乎
我试图在不使用引导程序的情况下进行常规进度。仍然没有成功。
我什至尝试将 login.html 内容放在 index.html 中,而不是使用指令,但仍然没有成功。
我试图添加一个 document.createElement('progress') 也没有成功。
在我销毁 IE8 之前请帮助我。