Set the background image to highlight the effect of transparency and jquery png background transparency plug-in example tutorial toggle () <br><!-- <br />body{</p> <p>background:url(bg.jpg) ; <br />margin:20px; padding:0px; <br />} <br />img{ <br />border:1px solid #ffffff; <br />} <br />--> <br> <br>$(function(){ <br>$("img").toggle( <br> function(oevent){ <br> $(oevent.target).css("opacity","0.5"); <br> }, <br> function (oevent){ <br> $(oevent.target).css("opacity","1.0"); <br> } <br>); <br>}); <br> Look at a jquery below png background transparent plug-in ... <br> $ (document).ready(function(){ <br> $(document).pngfix(); <br>The plug-in not only supports the transparent png background of img tags and background-image under ie5/ie6/ie7, but also supports the transparent png background of image type input, and achieves precise control, that is, you can make any content on the page The background of a png image is transparent and the others are not affected. <br> <br> <br><p> </p> <p class="sycode"> </p> <p class="sycode"> </p> <p class="sycode"> </p> <p class="sycode"> </p> <p class="sycode"></p> <p class="sycode"></p> <p class="sycode"> </p>