向上循环滚动的滚轴式文字广告[网页特效] dn001 2009-06-21 08:22:18 <!-- 把如下代码加入<body>区域中 --> <!-- web http://www.knowsky.com --> <!-- bbs http://www.knowsky.com/bbs--> <!-- 脚本说明: 把如下代码加入<body>区域中 --> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin site = "http://www.knowsky.com/js"; //注意地址不要加入 "/" function combineMenus(frm, menu1, menu2) { with (frm) { str = menu1.options[menu1.selectedIndex].value; str += menu2.options[menu2.selectedIndex].value; url = site + "/" + str + ".htm"; window.location.href = url; } } // End --> </script> <form name=menufrm> <select name=menu1> <option value="">时间类</option> <option value="time">time</option> </select> <select name=menu2> <option value="">哪个</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select> <input type=button value="Select" onClick="combineMenus(this.form, this.form.menu1, this.form.menu2)"> </form>