友情链接浏览器
<SCRIPT language=JavaScript> <!-- function go_to_station(){ if (document.stationform.stationselect.options[0].selected){ window.location.href = "http://";} else if (document.stationform.stationselect.options[1].selected) { window.location.href = "http://";} else if (document.stationform.stationselect.options[2].selected) { window.location.href = "http://";} else if (document.stationform.stationselect.options[3].selected) { window.location.href = "http://";} else if (document.stationform.stationselect.options[4].selected) { window.location.href = "http://";} else if (document.stationform.stationselect.options[5].selected) { window.location.href = "http://";} else if (document.stationform.stationselect.options[6].selected) { window.location.href = "http://";} else if (document.stationform.stationselect.options[7].selected) { window.location.href = "http://";} return true; } //This is were you load the Discription and the Author function textValue(){ if (document.stationform.stationselect.options[0].selected){ document.stationform.disc.value = "aaaaaaaa,photoshop" document.stationform.author.value = "【aa】";} else if (document.stationform.stationselect.options[1].selected) { document.stationform.disc.value = "bbbbbb" document.stationform.author.value = "【bb】";} else if (document.stationform.stationselect.options[2].selected) { document.stationform.disc.value = "cccccc" document.stationform.author.value = "【cc】";} else if (document.stationform.stationselect.options[3].selected) { document.stationform.disc.value = "dddddd" document.stationform.author.value = "【dd】";} else if (document.stationform.stationselect.options[4].selected) { document.stationform.disc.value = "eeeeee" document.stationform.author.value = "【ee】";} else if (document.stationform.stationselect.options[5].selected) { document.stationform.disc.value = "ffffffff" document.stationform.author.value = "【ff】";} else if (document.stationform.stationselect.options[6].selected) { document.stationform.disc.value = "ggggggg" document.stationform.author.value = "【gg】";} else if (document.stationform.stationselect.options[7].selected) { document.stationform.disc.value = "hhhhhh" document.stationform.author.value = "【hh】";} return true; }
//--> </SCRIPT>
拷贝下面的代码到你的html文件的<body>和</body>之间;
<TABLE><FORM name=stationform> <TR> <TD><SELECT class=yk9 multiple name=stationselect onchange=textValue() size=8> <OPTION>aaaaa</OPTION> <OPTION>bbbbb</OPTION> <OPTION>ccccc</OPTION> <OPTION>ddddd</OPTION> <OPTION>eeeee</OPTION> <OPTION>fffff</OPTION> <OPTION>ggggg</OPTION> <OPTION>hhhhh</OPTION></SELECT> <TD>站长大名<BR><TEXTAREA class=yk9 cols=40 name=author rows=1></TEXTAREA> <BR>站点主题<BR><TEXTAREA class=yk9 cols=40 name=disc rows=3 wrap=physical></TEXTAREA><p><INPUT class=yk9 name=stationbutton onclick=go_to_station() type="button" value="立刻去看看"></p> </TD> </TR> </FORM> </TABLE>
说明:将第一段代码中的"链接地址"和"站长名称""站点简介"改为你自己的友情连接内容,将第二段代码中的站点名称修改为相对应的站点。
《傲虎设计室》 阿捷/文
与 或 标题 全文 关键字 以上全部
·国家级治脑病新药思维源 ·中藏药治疗脑病新突破 ·治类风湿,强直性脊柱炎 ·养肾·痛风·长寿 ·肝病泌尿脑萎缩新药介绍 ·强直性脊柱炎康复乐园 ·让中医辩证不孕不育 ·国医治股骨头坏死一绝 ·乙肝为何久治不愈? ·二千元垄断批发做老板 ·中医中药专治前列腺 ·治牛皮癣白癜风已成现实 ·专治痛风病的白衣天使 ·不孕不育的杏林奇葩 ·专卖店零售管理系统