opacity should work for chrome / safari / firefox. The -moz and -khtml syntax is used only to support much older versions of these browsers.
I have never met the -webkit-opacity style -webkit-opacity and cannot find documentation that says it exists. I would try to completely remove it or correct the syntax error found there: '-webkit-opacity:' to '-webkit-opacity' (without trailing colon).
If this does not work, try typing opts.overlayOpacity . Make sure it is something like 0.5 , not 50 or 50% .
source share