hi,
I'm trying to render a .png background image in ie6 after a mootools onclick event which changes the background image of a logo div.
here is the relevant code as it is just now-
if(!window.ie6){
$('logo').setStyle('background-image', imagePath);
}else{
$('logo').setStyles({
filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+imagePath+")"
});
}
this, for whatever reason, doesn't seem to work! the event is called and works fine for all other browsers but the logo is just blank when this runs in ie6.
If anyone could shed some light on this, or has any ideas, I would be much obliged.
Cheers, peter