Commit 75d81b5f by liubai

footseen

parent 68832240
Showing with 16 additions and 1 deletions
......@@ -11,7 +11,22 @@
<link rel="stylesheet" href="../../css/background.css">
<script src="../../lib/fsize.js"></script>
<script type="text/javascript">
if(localStorage.help=="newShare"){
var bbb = location.href;
var data = url_get_params(bbb)
sessionStorage.type=data.enterType;
function url_get_params(url_path) {
var url = url_path;
var theRequest = new Object();
if (url.indexOf("?") != -1) {
var str = url.substr(url.indexOf("?") + 1);
strs = str.split("&");
for (var i = 0; i < strs.length; i++) {
theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
}
}
return theRequest;
}
if(localStorage.help=="newShare" && sessionStorage.type==1){
window.location.href = 'shareHelp.html'+location.search;
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment