<script>function verifyquery(form){if(form.sogou_drop.value==2){form.insite.value=‘‘;}else{form.insite.value=form.insite2.value}}</script><table height=30 cellSpacing=0 cellPadding=0 width=394 border=0><form action="http://www.sogou.com/web" target="_blank" onsubmit=‘javascript:verifyquery(this)‘ ><tr style=‘font-size:12px;color:#000000‘><td width=94 align="center"><img src="http://www.sogou.com/union/images/sogou_union_a1.gif" width="91" height="26" border=0></td><td align=right width=217><input type="text" name="query" size=14 style=‘BORDER-RIGHT: #999 1px solid; BORDER-TOP: #999 1px solid; BORDER-LEFT: #999 1px solid; BORDER-BOTTOM: #999 1px solid; HEIGHT: 19px; width: 200px; BACKGROUND-COLOR: #fff‘></td><td width="17"><input type="hidden" name="insite" value="abc.com"></td><td align=left width=66><input type="submit" name="sogou_submit" value="搜索"></td></tr></form></table>
代码框中的代码copy到您的页面中的相应位置上
<iframe marginwidth=0 marginheight=0 frameborder=0 bordercolor=‘#000000‘ scrolling=no src=‘http://fragment.union.sogou.com/preview.php?pid=dabaoku&pagetype=3&bc=%23E1EBFF&fc=undefined&bb=0&bbc=&width=150‘ width=150 height=120></iframe>
<iframe marginwidth=0 marginheight=0 frameborder=0 bordercolor=‘#000000‘ scrolling=no src=‘http://fragment.union.sogou.com/preview.php?pid=dabaoku&pagetype=1‘ width=468 height=60></iframe>
<iframe marginwidth=0 marginheight=0 frameborder=0 bordercolor=‘#000000‘ scrolling=no src=‘http://fragment.union.sogou.com/preview.php?pid=dabaoku&pagetype=4&bc=%23E1EBFF&fc=undefined&bb=0&bbc=&width=380‘ width=380 height=30></iframe>
<iframe marginwidth=0 marginheight=0 frameborder=0 bordercolor=‘#000000‘ scrolling=no src=‘http://fragment.union.sogou.com/preview.php?pid=dabaoku&pagetype=2&bc=%23E1EBFF&fc=undefined&bb=0&bbc=&width=760‘ width=760 height=30></iframe>
原文:http://www.cnblogs.com/mxcy/p/3905218.html