<input type="radio" name="aim" value="163" checked onclick="window.location='http://www.163.com'"> 163<br>
<input type="radio" name="aim" value="sohu" onclick="window.location='http://www.sohu.com'"> sohu<br>
<input type="radio" name="aim" value="csdn" onclick="window.location='http://www.csdn.net'"> > csdn><br>
<input type="radio" name="aim" value="sohu" onclick="window.location='http://www.sohu.com'"> sohu<br>
<input type="radio" name="aim" value="csdn" onclick="window.location='http://www.csdn.net'"> > csdn><br>
解决方案 »
- 求教各位高手,如何让定了长宽的img图片不拉伸变形?
- js刷新二级select下拉框----高手来啊~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- extjs 下拉树的重复打开问题
- dojo如何返回?
- 在框架中的左框架调用模态窗口,怎么样让模态窗口关闭时,左框架执行一个struts的action
- JS中我要用变量来代替DOCUMENT.ALL.DIVID中的DIVID,可以吗?怎么写呢?
- javascript有没有枚举类型,如何定义使用?
- 如何处理参数中的/呢?
- 求助关于html编辑器的问题! 特急!在线等待!
- 请问,用JavaScript,如何将字符串转换成日期,写入Access数据库,谢谢!
- 如何用JS操作每个连接上网站的用户的注册表?
- 分享,js模仿的操作系统
那要想hao123这样,就是想把他的多选框改成单选框,怎么该呢?
<script>
function search4()
{if(form1.abc0.checked)
window.open("http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey="+form1.key.value,"mspg0");
if(form1.abc1.checked)
window.open("http://site.search.sohu.com/sitesearch.jsp?page_index=0&key_word="+form1.key.value,"mspg1");
if(form1.abc2.checked)
window.open("http://cn.search.yahoo.com/search?p="+form1.key.value,"mspg2");
if(form1.abc3.checked)
window.open("http://www.skycn.com/search.php?sor=00&ss_name="+form1.key.value,"mspg3");
if(form1.abc4.checked)
window.open("http://www.google.com/search?hl=zh-CN&inlang=zh-CN&ie=GB2312&oe=GB2312&q="+form1.key.value,"mspg4");
if(form1.abc5.checked)
window.open("http://movie.baidu.com/srh.php?tn=baidux&word="+form1.key.value,"mspg5");
if(form1.abc6.checked)
window.open("http://www.baidu.com/s?tn=sitehao123&word="+form1.key.value,"mspg6");
if(form1.abc7.checked)
window.open("http://mp3search.baidu.com/wstsearch?tn=baidump3&ct=134217728&lm=-1&rn=&word="+form1.key.value,"mspg7");
if(form1.abc8.checked)
window.open("http://search.sogua.com/search/search.asp?fmp3=1&frm=1&fwma=1&fasf=1&go.x=25&go.y=19&key="+form1.key.value,"mspg8");
if(form1.abc9.checked)
window.open("http://mp3search.baidu.com/wstsearch?tn=baidump3lyric&ct=150994944&lm=-1&rn=&word="+form1.key.value,"mspg9");
if(form1.abc10.checked)
window.open("http://www.baidu.com/baidu?ft=all&q1="+form1.key.value,"mspg10");
if(form1.abc11.checked)
window.open("http://www.baidu.com/i?ct=201326592&cl=2&lm=-1&tn=baiduimage&word="+form1.key.value,"mspg11");
if(form1.abc12.checked)
window.open("http://bingle.pku.edu.cn/scripts/ftp_search.exe?cdtype=GB&word="+form1.key.value,"mspg12");
if(form1.abc13.checked)
window.open("http://mp3.baidu.com/m?rn=&tn=baidump3&ct=134217728&lm=6&word="+form1.key.value,"mspg13");
if(form1.abc14.checked)
window.open("http://www.yisou.com/search?p="+form1.key.value,"mspg14");
if(form1.abc15.checked)
window.open("http://news.baidu.com/ns?cl=2&rn=20&tn=news&word="+form1.key.value,"mspg15");
if(form1.abc16.checked)
window.open("http://www.baidu.com/baidu?ie=gb2312&bs=&sr=&z=&ct=1048576&cl=3&f=8&word="+form1.key.value,"mspg16");
return false;}</script>
<table border=0 cellspacing=0 width=100% bordercolor=#99DF95 bgcolor=#F0F7FF cellpadding=0>
<tr>
<td height=16 colspan="2"><p align=center><B><font color=#008000>〖如果你所需的网站在本站网址中没有找到,请在下面综合搜索引擎中输入网站关键字进行搜索〗</font></B></td></tr>
<tr><td height=15 colspan="2"><p align=center>综合搜索引擎</td></tr>
<form name=form1 onsubmit=return(search4())><tr>
<td colspan="2" align="center"><p><B><font color=#000000>关键字:</font></B><input type=text name=key size=15>
<input type=submit style=COLOR: rgb(0,0,0); FONT-SIZE: 9pt value=搜索 name=B2>
<input type=checkbox name=abc6 value=google checked><a href=http://www.baidu.com/>百度</a>
<input type=checkbox name=abc4 value=3721><a href=http://www.google.com/intl/zh-CN/>google</a>
<input type=checkbox name=abc7 value=baidump3><a href=http://mp3.baidu.com/>mp3</a>
<input type=checkbox name=abc9 value=baidump3>歌词
<input type=checkbox name=abc11 value=baidump3><a href=http://image.baidu.com/>图片</a>
<input type=checkbox name=abc13 value=baiduflash><a href=ss/flashbaidu.htm>FLASH</a>
<input name=abc5 type=checkbox value=baidumovie><a href=http://movie.baidu.com/>影视</a>
<input type=checkbox name=abc10 value=baidufile><a href=http://file.baidu.com/>文档</a>
<input name=abc15 type=checkbox value=baidunews><a href=http://news.baidu.com/>新闻</a><br>
</p>
</td>
</tr>
<tr>
<td width="220" align="right">
</td>
<td width="516"><input type=checkbox name=abc16 value=baidudict><a href=http://dict.baidu.com/>词典</a>
<input type=checkbox name=abc8 value=baidump3><a href=http://www.sogua.com/>搜刮mp3</a>
<input type=checkbox name=abc2 value=yahoo><a href=http://cn.search.yahoo.com/web?&ei=UTF-8>雅虎</a>
<input type=checkbox name=abc3 value=yeah><a href=software.htm>软件</a>
<input type=checkbox name=abc12 value=baidump3><a href=http://e.pku.edu.cn/>天网搜索</a>
<input type=checkbox name=abc14 value=baidump3><a href=http://www.yisou.com/>一搜</a>
<input type=checkbox name=abc0 value=sina><a href=http://cha.sina.com.cn/>新浪</a>
<input type=checkbox name=abc1 value=sohu><a href=http://dir.sogou.com/>搜狐</a></td>
</tr></form> <tr>
<td height="2" colspan="2"></td>
</tr>
</table>哪位大哥再帮忙看看,谢谢了,其实就是想问这个,怕太烦了,没敢问,看了上面的回答,我担心我还是写不好,干脆问了吧!呵呵!