New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

血條在IE 11上是空白 #133

Open
quantumtw opened this Issue Dec 1, 2014 · 4 comments

Comments

Projects
None yet
2 participants
@quantumtw
Copy link

quantumtw commented Dec 1, 2014

http://1129vday.tw/#/mission/TPE-4
上面的血條
在我的IE 11上是顯示空白
ie11
在FF和Chrome上是正常

是我的IE 11有問題還是?
謝謝!

@quantumtw

This comment has been minimized.

Copy link
Author

quantumtw commented Dec 1, 2014

噢看到FAQ了
「身為專業的工程師在此呼籲,請多用 Chrome及 Firefox! (地方的工程師只有一個肝.... 沒有空再做其他流覽器相容啦XDDDD) 」

@s890081tonyhsu

This comment has been minimized.

Copy link

s890081tonyhsu commented Dec 1, 2014

如果是CSS的話,我是可以補其他瀏覽器相容,只是用途有限
js還要再多翻資料(一種把自己推入坑的概念?)

@s890081tonyhsu

This comment has been minimized.

Copy link

s890081tonyhsu commented Dec 2, 2014

default

看來是JS在IE的賦值上面怪怪的,待會我找找相關的程式碼修修看

http://stackoverflow.com/questions/17184637/angular-ui-bootstrap-progress-bar-in-ie10/17384084#17384084

@s890081tonyhsu

This comment has been minimized.

Copy link

s890081tonyhsu commented Dec 2, 2014

端看了一下程式碼,會用這樣的寫法應該是轉換成percentage用的

(第一次用AngularJS,翻了不少文件才知道原來是這樣用)

如果說js數值本身沒有問題,那view直接用"數值 + %"直接印出也可達成目的

所以我使用 ng-style="{ width: miscope.hp1()*100 + '%' }"

如果沒有問題,請核准使用這種寫法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment