Internet explorer setStyleAttribute位置修复了在ie 9中无法使用google apps脚本的问题

Internet explorer setStyleAttribute位置修复了在ie 9中无法使用google apps脚本的问题,internet-explorer,google-apps-script,Internet Explorer,Google Apps Script,使用IE 9 image.setStyleAttribute(“位置”、“固定”); 他不适合我。它在铬和ff中工作良好。有什么想法吗 图像会显示,但在我滚动时会移动。有人准备好做ie了吗 (版本7之前不支持修复) 请尝试使用setAttribute,它应该可以在所有浏览器中使用。 请参阅此链接以获取参考信息尝试以下操作: var app = UiApp.createApplication().setTitle('fixed pos').setStandardsMode(true); 哇-很好

使用IE 9 image.setStyleAttribute(“位置”、“固定”); 他不适合我。它在铬和ff中工作良好。有什么想法吗

图像会显示,但在我滚动时会移动。有人准备好做ie了吗 (版本7之前不支持修复)


请尝试使用setAttribute,它应该可以在所有浏览器中使用。 请参阅此链接以获取参考信息

尝试以下操作:

var app = UiApp.createApplication().setTitle('fixed pos').setStandardsMode(true);

哇-很好,谢谢。缺点是,许多小部件现在的大小都不正确:(是的,不幸的是,标准模式是全有或全无的。
var app = UiApp.createApplication().setTitle('fixed pos').setStandardsMode(true);