Transperent div for all browser
Posted by Bhushan Ahire | Posted in Rails, Uncategorized | Posted on 26-05-2009
0
if (b.ie)
{
var filter = this.element.style.filter.replace(/alphas*(s*opacitys*=s*[0-9.]{1,3})/, ”);
this.element.style.filter = filter + ‘alpha(opacity=’ + parseInt(ht * 100, 10) + ‘)’;
}
else
{
this.element.style.opacity = ht;
}
this.element.style.visibility = ‘visible’;
this.element.style.display = ‘block’
}
