以下代码可以直接加到版块中,尺寸经过调整的
一、新浪搜索源代码:
<iframe id=adframe1 marginwidth=0 marginheight=0 frameborder=0 scrolling=no src='http://pfp.sina.com.cn/partner/unionSearchBox.html?width=145&id=15134' width=145 height=120></iframe>
二、百度搜索源代码:
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0" framespacing="0" frameborder="0" scrolling="no" width="140" height="75" src="http://unstat.baidu.com/bdun.bsc?tn=aswis8&csid=105&rkcs=0&bgcr=E1FDE8&ftcr=006633&rk=1&bd=1&bdas=0"> </iframe>
三、google搜索源代码: 1、加在版块中(尺寸经过调整)
<!-- Search Google --> <center> <form method="get" action="http://www.google.com/custom" target="google_window"> <table bgcolor="#cccccc"> <tr><td nowrap="nowrap" valign="top" align="left" height="32"> <a href="http://www.google.com/"> <img src="http://www.google.com/logos/Logo_25gry.gif" border="0" alt="Google" align="middle"></img></a> <br/> <input type="text" name="q" size="20" maxlength="255" value=""></input> </td></tr> <tr><td valign="top" align="left"> <input type="submit" name="sa" value="搜索"></input> <input type="hidden" name="client" value="pub-1424916652430494"></input> <input type="hidden" name="forid" value="1"></input> <input type="hidden" name="ie" value="GB2312"></input> <input type="hidden" name="oe" value="GB2312"></input> <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input> <input type="hidden" name="hl" value="zh-CN"></input> </td></tr></table> </form> </center> <!-- Search Google -->
2、横幅广告样式(778宽)
<!-- Search Google --> <center> <form method="get" action="http://www.google.com/custom" target="google_window"> <table bgcolor="#cccccc"> <tr><td nowrap="nowrap" valign="top" align="left" height="32"> <a href="http://www.google.com/"> <img src="http://www.google.com/logos/Logo_25gry.gif" border="0" alt="Google" align="middle"></img></a> <input type="text" name="q" size="105" maxlength="255" value=""></input> <input type="submit" name="sa" value="搜索"></input> <input type="hidden" name="client" value="pub-1424916652430494"></input> <input type="hidden" name="forid" value="1"></input> <input type="hidden" name="ie" value="GB2312"></input> <input type="hidden" name="oe" value="GB2312"></input> <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input> <input type="hidden" name="hl" value="zh-CN"></input> </td></tr></table> </form> </center> <!-- Search Google -->
四、google竞价广告代码:横幅广告(728*90)
<script type="text/javascript"><!-- google_ad_client = "pub-1424916652430494"; google_alternate_ad_url = "http://www.aswis.cn/gg/1.swf"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_channel =""; google_page_url = document.location; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
|