2

I want to add a Java Applet to Sencha Touch 2. Is there an opportunity? For example in Ext.app.Application with a config attribute or in Ext.navigation.View or somewhere else?

At the moment I have it in the workflow.html under the body tag:

<body>
    <applet name="MyName" id="MyId" code="main.Main" width="0" height="0" style="visibility: hidden;" archive="MyApplet.jar"></applet>
</body>

There is also a problem with the applet, there is a white space on the top and then under approximate 50px you can see the application. Because of the lacking px, the complete scroll behavior is destroyed.

4

1 回答 1

1

您可以通过添加“位置:绝对;”来隐藏它 到样式属性,例如:

<body>
    <applet name="MyName" id="MyId" code="main.Main" width="0" height="0" style="visibility: hidden; position: absolute;" archive="MyApplet.jar"></applet>
</body>
于 2013-08-07T00:44:31.617 回答