Kush Murod schrieb:
Hi Jörn,
Thanks so much for the feedback and directions, your plugin made this
plugin much better :)
I took the idea from your plugin where you detect ping background
images set in css and apply the hack, that is great
I'll add more examples when I get some time
http://www.khurshid.com/jquery/iepnghack/
Could you please also add the unfixpng method, at least for background
images? With that at hand I could remove my own implementation from the
tooltip plugin and just use yours. I need the unfix method to remove a
png background that was added by a temporary class.
You could avoid a bit duplication in your plugin with a helper function
like this:
function filter(src) {
return
"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=crop,src='"+
src +"')"
}
I'd prefer a different name for the plugin method.
Apart from that: Great stuff. It's nice that to have both hacks in a
single method.
--
Jörn Zaefferer
http://bassistance.de