Snack's 1967
Share code Bật/Tắt bóng đèn trên wap/web | Html, css, javacripst, php, jquery | Wapmaster - Forum-VN #ref-menu
▼ Share code Bật/Tắt bóng đèn trên wap/web
* Tamhoangdk
- Cấp bậc: admin
19-04-2016
Share code button On/Off lights free for wap/website
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>

<script type='text/javascript'> 
//<![CDATA[
            $(document).ready(function(){
                $("#shadow").css("height", $(document).height()).hide();
                $(".lightbuttonVP").click(function(){
                    $("#shadow").toggle();
                    if ($("#shadow").is(":hidden"))
                        $(this).html("<img src='http://vipprao.wap.sh/images/lightbulb-off-vipprao-wap-sh.png' alt='' /> Tắt Đèn").removeClass("turnedOff");
                     else
                       $(this).html("<img src='http://vipprao.wap.sh/images/lightbulb-on-vipprao-wap-sh.png' alt='' /> Bật Đèn").addClass("turnedOff");
                });
                
            });
//]]>
</script>
<link rel="stylesheet" type="text/css" href="/CSS/lights.css" />
<div class="toollightoffVP">
  <div style="float:left;width:10%;">
    <div id="command"><a class="lightbuttonVP" href="#"><img src='http://vipprao.wap.sh/images/lightbulb-off-vipprao-wap-sh.png' alt='' /> Tắt Đèn</a></div>
  </div>
</div>
  <div id="shadow" ></div>
Copy code
▲ Tổng số: 1
- Share:
BBCode:

Link:
Online: Guests: 1

Từ khóa: bóng , bóng , Bật/Tắt , trên , wap/web