随笔分类 - appcan
摘要:var j=[{"key":"sinaid","type":"0","value":"1910738505"}, {"key":"sinaname","type":"0","value":"我在这里"}, {"key":"data","type":"0","value&
阅读全文
摘要:lat:经度log:纬度var lat1;var log1;function locationCallback(lat,log){uexLocation.closeLocation();lat1 = lat;log1 = log;uexLocation.getAddress(lat,log);document.getElementById('longitude').value = log;document.getElementById('latitude').value = lat;}function LocationSuccess(opCode,dataTyp
阅读全文
摘要:MD5.js文件/* * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message * Digest Algorithm, as defined in RFC 1321. * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002. * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet * Distributed under the BSD License * See http://pajh
阅读全文
摘要:ajax.jswindow.AJAX = { callBack : {},index : 1,get : function(url,succCall,errCall,timeout,getid){ //var id = this.index++; var id=getid; //alert(id); this.callBack[id] = [succCall,errCall]; uexXmlHttpMgr.open(id,'get',url,(timeout||0)); this._send(id);},post : function(url,data,succCall,err
阅读全文
摘要:可以缓存例如头像等固定图片zy_init();window.uexOnload=function(type){ if(!type){ zy_initcache(function(){ loadWeather(); }); }}function loadWeather(){ var data=zy_imgcache('user_avatar','10', 'http://tp1.sinaimg.cn/27997...
阅读全文
摘要:<script type="text/javascript">if (localStorage.pagecount) { localStorage.pagecount=Number(localStorage.pagecount) +1; }else { localStorage.pagecount=1; }if (localStorage.pagecount == 1) {window.location.href="home.html"; //引导页页面 }else {window.location.href="home.html&
阅读全文

浙公网安备 33010602011771号