var if_play_money_num="0"; $(document).ready(function(){ $(".topnav .tn_game1").hover(function(){ $(".topnav .sub_menu1").slideDown(); },function(){ $(".topnav .sub_menu1").hide(); }); $(".topnav .sub_menu1").hover(function(){ $(this).show(); },function(){ $(this).hide(); }); //二维码出现 $(".games_list1 li").hover(function(){ $(".topnav .hand_code").show(); $(".topnav .hand_code img").eq($(this).index()).show(); },function(){ $(".topnav .hand_code").hide(); $(".topnav .hand_code img").eq($(this).index()).hide(); }); $(".games_list1 li").click(function(){ $(".code_close").show(); $(".topnav .hand_code").addClass("on"); $(".topnav .hand_code img").eq($(this).index()).addClass("on").siblings().removeClass("on"); }); $(".code_close").click(function(){ $(".code_close").hide(); $(".topnav .hand_code").hide(); $(".topnav .hand_code img").hide(); $(".topnav .hand_code").removeClass("on"); $(".topnav .hand_code img").removeClass("on"); }); }); var v=3;//parseInt(100000*Math.random()); document.write(''); document.write('