我想將其轉換爲flipVertical。我試過object.style.filter="Flipv"
它不能在firefox中工作。請使它.....Object.style.filter =「Flipv」在Internet Explorer中正常工作。我該怎麼做在Firefox?
0
A
回答
4
Filters僅在Internet Explorer中實現。
相反,你可以使用transform
從CSS3:http://www.w3.org/TR/css3-2d-transforms/
在這種情況下,你需要transform: scaleY(-1)
。
用於Firefox甲JavaScript示例:
document.getElementById('x').style.MozTransform = "scaleY(-1)";
CSS3變換也supported in all modern browsers。
0
你也可以使用firefox的CANVAS
相關問題
- 1. 我該怎麼做才能使此菜單欄在Internet Explorer 7及更高版本中正常工作?
- 2. IIS7在Firefox中顯示歡迎屏幕,Internet Explorer正常工作
- 3. 請在Internet Explorer中bfcache工作,如Firefox
- 4. selectedOptions.length在Internet Explorer中不起作用,但在Chrome和Firefox中正常工作?
- 5. 標籤鏈接不在workinh在Internet Explorer中,但在Firefox中工作正常
- 6. 我該怎麼做才能讓這段代碼正常工作
- 7. bootstrap不工作在Firefox/Internet Explorer
- 8. 標題無法正常工作Firefox/Internet Explorer
- 9. Firefox顯示apache 2測試頁面,而Internet Explorer工作正常
- 10. CSS無法正常工作Internet Explorer?
- 11. Internet Explorer javascript style.height無法正常工作
- 12. C#創建的位圖不會顯示在Internet Explorer 8中(Firefox工作正常)
- 13. Serenity BDD 1.2.2操作在Internet Explorer中無法正常工作
- 14. list.setGrouped(true)不工作?我該怎麼做?
- 15. Gruff工作不正常。該怎麼辦?
- 16. 網站無法在Internet Explorer中工作,在Chrome和Mozilla中正常工作
- 17. Iframe中的會話在Firefox中工作,但不在Internet Explorer中
- 18. CSS3動畫無限在Internet Explorer 11中無法正常工作
- 19. execCommand'undo'在Internet Explorer中無法正常工作
- 20. 屏幕鍵盤在Internet Explorer中無法正常工作
- 21. 的jQuery removeClass在Internet Explorer中無法正常工作6
- 22. 如何使錶行在Internet Explorer中正常工作?
- 23. base_url()在Internet Explorer(CodeIgniter)中無法正常工作
- 24. $ .parseJSON在Internet Explorer 10中無法正常工作
- 25. Jquery手風琴在Internet Explorer中無法正常工作
- 26. JQuery的代表在Internet Explorer 8中不能正常工作
- 27. struts2 dojo datepicker在Internet Explorer中工作不正常
- 28. 菜單選項卡在Internet Explorer 8中無法正常工作
- 29. jquery.form.js在Internet Explorer 9中無法正常工作
- 30. 選擇框無法正常工作/在Internet Explorer中消失
你所描述的過濾器是IE特定的(專有的)。你可以在這裏找到更多關於它們的地方(http://msdn.microsoft.com/en-us/library/ms532847(v = vs.85).aspx)。對於Firefox,你需要找到一種不同的方法。如果你發現在FF中有效的東西,它可能也會在IE中工作,因爲FF對非標準擴展的依賴較少。 –