获取html连接
<script language="javascript">
function oninitdoc(){
var id,url;
url = document.location.href;
if(url.indexOf('?')!=-1){
id = url.split('?')[1];
if(id==1)document.all.mainframe.src='files/ljzk.htm';
if(id==2)document.all.mainframe.src='files/bmlc.htm';
if(id==3)document.all.mainframe.src='files/xxgc.htm';
if(id==4)document.all.mainframe.src='files/wjcl.htm';
if(id==6)document.all.mainframe.src='files/blzk.htm';
if(id==7)document.all.mainframe.src='files/mkzc.htm';
if(id==8)document.all.mainframe.src='files/bysx.htm';
if(id==9)document.all.mainframe.src='files/qdxw.htm';
}
}
oninitdoc();
</script>
年轻的时候,先少废话,多做事。