Hi
I'm using Prototype 1.2
And the transparency and opacity not work in ie8
My code:
$('av-img').addEvent('mouseover', function(event){
$('avatar_upload').setStyle('background', 'rgba(0, 0, 0, 0.6)');
$('select-0').setStyle('color', '#fff');
});
$('av-img').addEvent('mouseout', function(event){
$('avatar_upload').setStyle('background', 'transparent');
$('select-0').setStyle('color', 'transparent');
});
$('avatar_upload').addEvent('mouseover', function(event){
$('avatar_upload').setStyle('background', 'rgba(0, 0, 0, 0.6)');
$('select-0').setStyle('color', '#fff');
});
$('avatar_upload').addEvent('mouseout', function(event){
$('avatar_upload').setStyle('background', 'rgba(0, 0, 0, 0.6)');
$('select-0').setStyle('color', '#fff');
});
How fix this bug?
Tks
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/prototype-scriptaculous/-/MkGnHbV-4SwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.