我正在使用 Drupal 7 和 Galleria 1.2.6 并且有全屏主题。我的画廊在 Firefox 上工作。但是当单击全屏图像时无法在 IE 上运行。
问题线:
this.setStyle(this.get('iefix'), {
完整的代码:
if (Galleria.IE) {
this.addElement('iefix');
this.appendChild('container','iefix');
this.setStyle(this.get('iefix'), {
zIndex:3,
position:'absolute',
backgroundColor: '#000',
opacity:.4
})
}
错误日志:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Timestamp: Wed, 9 May 2012 13:43:16 UTC
Message: Object doesn't support this property or method
Line: 39
Char: 13
Code: 0
URI: http://mysite.com/sites/all/libraries/galleria/themes/fullscreen/galleria.fullscreen.js
我该如何解决这个问题?