我在Eclipse中使用IBM Worklight创建了我的应用程序。我已经添加了iPhone环境并在我的设备上成功安装了我的应用程序,但我注意到在某些屏幕上,数字显示为下划线,当点击它时会显示一个带有调用功能的对话框。
我尝试过使用text-decoration:none
,因此不会出现下划线,但它仍然会出现。我试过了:
<span class="bluelink" data-dojo-type="dojox.mobile.TabBarButton">40562231</span>
.bluelink {
color:#1238a6; text-decoration:none;
}
我面临的另一个问题是,在使用alert()
时,它会将标题标题显示为HTML文件名,例如 MyApp.html 。有谁知道如何解决这个问题?
答案 0 :(得分:1)
而不是alert()
使用WL.SimpleDialog
API。 Explained here
WL.SimpleDialog.show(
"My Title",
"My Text",
[{
text: "First Button",
handler: function() {
WL.Logger.debug("First button tapped");
}
}]
)
关于电话号码,请尝试以下选项:
http://razoredgelabs.com/2013/03/how-to-stop-apple-ios-devices-from-styling-phone-numbers/
还有以下问题: