当前位置:编程学习 > JAVA >>

jQuery的fadeTo方法调整图片的透明度

<script src="jquery-1.9.1.js" type="text/javascript"></script> <script type="text/javascript"> $(function () { $('#Select1').change(function () { var thevalue = $(this).val(); $('img').fadeTo(2000, thevalue); }) }) </script>
透明度:
补充:web前端 , JavaScript ,
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,