In the Element.setOpacity method definition in effects.js, there is a line that sets the opacity to 0.999999 if the requested opacity is 1.  This is clearly there for a reason, but having a very slight transparency actually makes my pages look bad – images are the worst, but I can see the backgrounds through my supposedly opaque elements.

 

Why is 1 bad for this value?

 

Here’s the code in question:

 

Element.setOpacity = function(element, value){ 

  element= $(element); 

  var els = element.style; 

  if (value == 1){ 

    els.opacity = '0.999999'; 

                ….

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to