Raphaeljs库和智能手机 [英] Raphaeljs library and SmartPhones
问题描述
我用JavaScript脚本调用库 raphaeljs 在我的网站上绘制的地图,动画和动画功能的worderfull。我注意到,使用这个库的工作完美剧本 iPhone 而与机器人
I used the worderfull javascript library called raphaeljs on my website to draw maps, animations and animated functionalities. I have noticed that the script using this library work perfectly with iPhone but not with Android.
有人可以证实这一点(只是要raphaeljs会告诉你,如果它工作的不是演示页),如果没有,是否有人有任何想法,为什么,以及什么可以测试。
Can someone confirm this (just going on the demo page of raphaeljs will tell you if it works of not) and if it doesn't, does someone has any idea why, and what could be tested.
感谢
推荐答案
Android浏览器不支持SVG,直到最近重新推出了其采用Android 2.3的默认。一种解决方法是使用Opera移动(免费从Android Market),这将工作无论Android版本。
The default Android browser did not support SVG until they recently re-introduced it with Android 2.3. One workaround is to use Opera Mobile (free from the Android Market) which will work whatever the Android version.
编辑:我的错误,它的Android 3.0(蜂巢),在默认浏览器中加入SVG支持
My mistake, it's Android 3.0 (Honeycomb) that added SVG support in the default browser.
2ND编辑:更好地补充一点,我对Opera工作的免责声明。可能有支持SVG其他非默认浏览器(但我没有尝试过它们)。
2ND Better add a disclaimer that I work for Opera. There may be other non-default browsers that support SVG (but I haven't tried them).
这篇关于Raphaeljs库和智能手机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!