为什么我的<object>没有显示在iphone上?</object>

时间:2013-04-30 13:53:16

标签: iphone cordova object

我想在iphone上的phonegap应用程序中显示一个forreign网站。当我在firefox中查看应用程序时,我看到了网站,但iphone上没有显示任何内容。任何想法或解决方案? (网址只是一个例子)

<div id="divSvgView" dojoType="dojox.mobile.ScrollableView" style="background-color: #d0d0d0;">
     <object type="txt/html" id="svgObject" data="http://heise.de" style="width:400px; height:400px;margin1%;"></object>
</div>

迎接汤姆

1 个答案:

答案 0 :(得分:1)

尝试使用type =“application / xhtml + xml”?在某些版本的桌面和iOS Safari中似乎需要这样才能使工作正常。