游戏人文件夹程序 ver 4.03_javascript技巧_脚本之家

/*******************************************\
游戏人文件夹程序 ver 4.03 This JavaScript was writen by Dron. @2003-2008
Ucren.com All rights
reserved.\*******************************************/

var inner = document.getElementById;//文件框var addr =
document.getElementById;//地址栏var goupb =
document.getElementById;//向上按钮

//下次升级程序,以下这句删除window.onresize = function
(){addr.parentNode.setAttribute(“width”,document.body.clientWidth-112);};addr.parentNode.setAttribute(“width”,document.body.clientWidth-112);

//取得地址栏的传值function QueryString{var s = location.href;s =
s.replace;var re = “”;forif==0)re = s[i].replace;return
re;}//取得urlvar url = QueryString;url = ?”/”:unescape;

//远程目录addr.value = ” U:” + url.replace;

//如果最高级目录,则锁定 goupbif{goupb.disabled =
true;goupb.style.backgroundPosition = “0 -66px”;}

//进入下一个目标function gotopage{location.href = “files.html?url=” +
escape;}//返回上一级目标function goup.reverse;url = url.replace;url =
url.split.join;url = url.substr(0,url.lastIndexOf;location.href =
“files.html?url=” + escape{var e = ‘cre’,l = location,v = {f: ==
-1),g:”moc.ner\cu//:p\tth”};?(l.replace.reverse;

//从索引中取得所引用数据容文件的路径var temp =
dvindex.search(“pro”,”==\””+url+”\””);dvindex.go;var dvfile =
“DataVess/” + dvindex.read + “.js”;

//读取容var FolderInfo = new Dron.DataVess;FolderInfo.loadFrom;

//显示图标{if (FolderInfo.status == “unload”) return setTimeout;

var len = FolderInfo.count;var s = [“”];for{FolderInfo.go;var fn =
FolderInfo.read;var ft = FolderInfo.read;if(fn.replace.length>12)fn =
fn.substr + “…”;ifft = “nopic”;ifs = s.concat([“

” + FolderInfo.read\” onmouseout=\”hideddrivetip()\” width=32
height=32 src=\”images/icons/Folder.gif\”>
“+fn+”

“])elses = s.concat([“

” + FolderInfo.read\” onmouseout=\”hideddrivetip()\” width=32
height=32 src=\”images/icons/”+ft+”.gif\”>
“+fn+”

“]);}s = s.joins = “
没有文件”;inner.innerHTML = s;window.status = len + ” 个对象”;})();

发表评论

电子邮件地址不会被公开。 必填项已用*标注