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('
'); document.write('
'); document.write('
'); document.write(' '); document.write('
'); document.write(' 首页'); document.write(' 用户中心'); document.write(' 充值中心'); document.write(' 礼包福利'); document.write(' 客服中心'); document.write(' 积分商城'); document.write(' 论坛'); document.write('
'); document.write('
'); document.write('
'); document.write(' 保存到桌面保存到收藏夹全部游戏'); document.write('热门手游'); document.write(' '); document.write(''); document.write('
'); document.write(' 关闭'); document.write('

扫这个二维码

'); document.write('
'); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write('
'); document.write('

即刻下载到您的手机

'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); function addBookmark() { var title='游戏中心'; var url=location.href; try { window.external.addFavorite(url, title); } catch (e) { try { window.sidebar.addPanel(title, url, ""); } catch (e) { alert("加入收藏失败,请使用Ctrl+D进行添加"); } } } function GetQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i"); var r = window.location.search.substr(1).match(reg); if (r!=null) return unescape(r[2]); return null; } function sethome(obj){ var vrl='//play.gameifeng.com/'; try{ obj.style.behavior='url(#default#homepage)';obj.setHomePage(vrl); } catch(e){ if(window.netscape) { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); } catch (e) { alert("此操作被浏览器拒绝!\n请在浏览器地址栏输入“about:config”并回车\n然后将 [signed.applets.codebase_principal_support]的值设置为'true',双击即可。"); } var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); prefs.setCharPref('browser.startup.homepage',vrl); } } } function AutoScroll(obj){ $(obj).find("ul").animate({ marginTop:"-22px" },1000,function(){ $(this).css({marginTop:"0px"}).find("li:first").appendTo(this); }); } $(document).ready(function(){ //setInterval('AutoScroll("#ticker")',2000); var ptop=parseInt($('.sign').css('padding-top')); $(".topnav .tn_game").hover(function(){ $(".topnav .sub_menu").slideDown(); },function(){ $(".topnav .sub_menu").hide(); }); $(".topnav .sub_menu").hover(function(){ $(this).show(); },function(){ $(this).hide(); }); });