Save the following code as jb51.html
Copy Code code as follows:
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<title>javascript player download navigation test </title>
<body>
<div id= "divcontent" style= "Text-align:left" > didn't seem to find anything you wanted. Oh: </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= "The decoder files you need to download are: <a href= ' http://down1.jb51.net/chajian/' +nname+ '. exe ' > ' +nname+ '. Exe</a><br> (after downloading the run, and then click on "Meteor Network TV" in the show will be able to watch!) )';
}
}
</script>
</body>
Actually when the actual software download address
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
How to call a specific page parameter
Jb51.html?kpalyer can