![U_U](http://static.forosdelweb.com/fdwtheme/images/smilies/nods.png)
Código Javascript:
¿Alguien me puede ayudar? Ver original
// [...] opacity : function(){ var isIE = document.all, estilos = isIE ? ['filter', 100] : ['opacity', 1], valor = isIE ? ['alpha(opacity=', ')'] : ['', '']; alert(this.tagName); // undefined según IE ¬¬ if(arguments.length){ this.style[estilos[0]] = valor[0] + (arguments[0] * estilos[1]) + valor[1]; }else{ if(this.style[estilos[0]]){ return this.style[estilos[0]].match(/\d+(\.\d+)?/)[0]/estilos[1]; }else{ if(SS.find(this.tagName, isIE?'filter':'opacity')){ return isIE?SS.find(this.tagName, 'filter').match(/\d+(\.\d+)?/)[0]/100:SS.find(this.tagName, 'opacity'); }else{ if(SS.find('#'+this.id, isIE?'filter':'opacity')) return isIE?SS.find('#'+this.id, 'filter').match(/\d+(\.\d+)?/)[0]/100:SS.find('#'+this.id, 'opacity'); else{ for(var i=0, partir=this.className.split(' '); clase=partir[i]; i++){ if(SS.find('.'+clase, isIE?'filter':'opacity')) return isIE?SS.find('.'+clase, 'filter').match(/\d+(\.\d+)?/)[0]/100:SS.find('.'+clase, 'opacity'); } } } } } return 1; } // [...]
Muchas gracias :D