//load jquery before load this page //google.load("jquery", "1.6.2"); /* google.load("webfont", "1.0.21"); google.setOnLoadCallback(function() { WebFont.load({ google: { families: [ 'Open Sans', 'Inconsolata' ] } }); }); */ //alert("test a"); //append_site_icon_to_head("../images/icon/zhegui_favicon_16x16.ico"); //append_site_icon_to_head("../images/icon/zhegui_logo_2020.ico"); append_site_icon_to_head("../images/zhegui_logo_2020.svg"); $("", { name: "google-site-verification", //content: "ygOUvtTvSQjx9EM_fVEJqVz2vd7D01uva1lyZ6bTuKQ",//old zhegui.biz content: "SDaPSsVG6oSvBr-G-yEDhV5sTmK1MphcuDUExxL1K68" }).appendTo("head"); //no cache for fonts //append_css_link_to_head("http://fonts.googleapis.com/css?family=Open+Sans|Inconsolata"); //append_css_link_to_head("../css_not_zhegui/cssmenu/dropdown_one/dropdown_one.css"); //append_css_link_to_head("../css_zhegui/zhegui_site_2011.css"); //alert("test b"); //alert($); //load_js_file("../js_not_zhegui/jquery.corner-v2.13.js"); //alert("test c,load site_ver"); //load_js_file("../js_zhegui/site_ver.js"); //alert("after call load site_ver d"); //alert(g_latest_site_change_time); //alert("after call load site_ver d2"); //load_js_file("../js_zhegui/zhegui_2011.js"); //load_js_file("../js_zhegui/zhegui_201909.js"); //alert("test e"); //alert("g_latest_site_change_time="); //load_js_file("https://www.google.com/jsapi"); //alert("begin load google webfont 1.0"); //alert("before call call_google_analytics"); //call_google_analytics(); //alert("after call call_google_analytics"); function append_css_link_to_head(var_url){ $("", { rel: "stylesheet", type: "text/css", href: var_url }).appendTo("head"); } function append_site_icon_to_head(var_url){ $("", { rel: "icon", type: "image/x-icon", href: var_url }).appendTo("head"); $("", { rel: "shortcut icon", type: "image/x-icon", href: var_url }).appendTo("head"); //alert("a1 "); } function load_js_file(var_url){ //$.getScript(var_url); $.ajax({ url: var_url, dataType: "script", async :false, cache:true //, //success: success }); //alert("a3 "); }