我試圖讓彈出式屏幕上的結果,但我不知道要放在德'()'。希望你的傢伙能幫助我解決這個問題。感謝:d如何彈出搜索結果
<script>
// JavaScript popup window function
function basicPopup(url) {
popupWindow = window.open(url,'action','height=550,width=800,left=100,top=100,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no, status=yes')
}
</script>
<form method=GET action="http://www.google.com/search">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<table bgcolor="#FFFFFF">
<input Type=text name=q size=31 maxlength=255 value="">
<input Type=submit name=btnG value="Search" onclick="basicPopup();return false">
<font size=-1>
<input type=hidden name=domains value="google">
<input type=hidden name=sitesearch value="google.com" checked>
</font>
</table>
</form>
感謝您的文章,但現在的問題是,值= 'google.com'(名稱=的站內搜索)不起作用。 – user1
你想做什麼?使用「sitesearch」字段值來指定搜索是否必須使用bing,google,eso? –