I'm having some problem here...
I have a javascript I've downloaded that goes through all PNG files and enables
the transparency channel in them for IE5.5+ by converting them to SPAN layers
with the image as background.
This works great until I put one of these PNG files inside a display:none block
and later sets the block to display:block - then the SPAN (that was the PNG
<img>) remains hidden.
I've made an example page here:
If you visit that page with IE6 the middle icon will fail be show when you
press "display image", but the right one will work fine, since it is only
hidden by "visibility : hidden", and not "display: none".
Anyone have a good idea how to make the middle image appear?
--
Sandman[.net]
I have a javascript I've downloaded that goes through all PNG files and enables
the transparency channel in them for IE5.5+ by converting them to SPAN layers
with the image as background.
This works great until I put one of these PNG files inside a display:none block
and later sets the block to display:block - then the SPAN (that was the PNG
<img>) remains hidden.
I've made an example page here:
If you visit that page with IE6 the middle icon will fail be show when you
press "display image", but the right one will work fine, since it is only
hidden by "visibility : hidden", and not "display: none".
Anyone have a good idea how to make the middle image appear?
--
Sandman[.net]
Comment