I have some code that if Javascript is available, it will remove a GIF image and replace it with a PNG image. The PNG is display:none and the GIF is visible.
Since IE6- browsers can't load PNG, I have loaded the jquery PNG fix. But it only seems to work if the image is already visible.
The other issue is I am trying to get the jquery.browser function to apply to less than version 6, and I am not having much luck.
HTML
I should probably set the images as background elements, and use conditional CSS formatting to only apply the GIF on IE6- as well..
以上就是jquery png fix on hidden div and jquerybrowser question的详细内容,更多请关注web前端其它相关文章!