Team:Queens-Canada/head
From 2010.igem.org
(Difference between revisions)
Line 440: | Line 440: | ||
if(!this.element) throw(Effect._elementDoesNotExistError); | if(!this.element) throw(Effect._elementDoesNotExistError); | ||
// make this work on IE on elements without 'layout' | // make this work on IE on elements without 'layout' | ||
- | if(/MSIE/.test(navigator.userAgent) | + | if(!(/MSIE/.test(navigator.userAgent) || !window.opera && (!this.element.currentStyle.hasLayout))) |
this.element.setStyle({zoom: 1}); | this.element.setStyle({zoom: 1}); | ||
var options = Object.extend({ | var options = Object.extend({ |
Revision as of 18:53, 21 June 2010