欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

利用javascript實(shí)現(xiàn)一些常用軟件的下載導(dǎo)航

 更新時(shí)間:2009年08月03日 02:11:44   作者:  
利用javascript實(shí)現(xiàn)一些常用軟件的下載導(dǎo)航,非常不錯(cuò)的應(yīng)用,思路值得借鑒,沒(méi)看過(guò)的朋友可以看下。

將下面的代碼保存為jb51.html

復(fù)制代碼 代碼如下:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>javascript 播放器下載導(dǎo)航測(cè)試</title>
</head>
<body>
<div id="divcontent" style="text-align:left">好像沒(méi)找到你要的東西哦:)</div>
<script language="javascript">
function $(id){return document.getElementById(id);}
var name= location.search.substring(1,location.search.length);
var lowername= name.toLowerCase();
var fArr=["scast","cplayer","ants","aplayer","pps","splayer","tvu","tplayer","ppl","pplayer","usee","uplayer","kplayer","pplayer2","uplayer2008"];
for(var i=0;i<fArr.length;i++){
if (lowername==fArr[i]){
var nName=fArr[i].replace('scast','cplayer');
nName= nName.replace('ants','aplayer');
nName= nName.replace('pps','splayer');
nName= nName.replace('tvu','tplayer');
nName= nName.replace('usee','uplayer');
$('divcontent').innerHTML= "您需要下載的解碼器文件是:<a ;
}
}
</script>
</body>
</html>

其實(shí)的時(shí)實(shí)際軟件下載地址
http://down1.jb51.net/chajian/scast.exe
http://down1.jb51.net/chajian/cplayer.exe
http://down1.jb51.net/chajian/ants.exe
http://down1.jb51.net/chajian/aplayer.exe
http://down1.jb51.net/chajian/tvu.exe
http://down1.jb51.net/chajian/tplayer.exe
http://down1.jb51.net/chajian/ppl.exe
http://down1.jb51.net/chajian/pplayer.exe
http://down1.jb51.net/chajian/usee.exe
http://down1.jb51.net/chajian/uplayer.exe
http://down1.jb51.net/chajian/kplayer.exe
http://down1.jb51.net/chajian/uplayer2008.exe
具體的頁(yè)面參數(shù)調(diào)用方式
jb51.html?kpalyer即可

相關(guān)文章

最新評(píng)論