下面是完整代码:
<style type="text/css"> .feed-mail{padding:0px;height:33px;overflow:hidden;} .feed-mail-input{width:171px;height:20px;line-height:20px;padding:4px;vertical-align:middle;border:rgb(80, 153, 167) 2px solid;font-family: inherit;font-size: inherit;font-weight: inherit;color:#F9F900;background-color:rgb(80, 153, 167);} .feed-mail-btn{width:45px;height:32px;vertical-align:middle;cursor:pointer;border: #77a0d1 2px solid;color: #FFF;font-family: inherit;font-size: inherit;font-weight: inherit;background: #77a0d1; </style> <div class="feed-mail"> <form action="http://list.qq.com/cgi-bin/qf_compose_send" target="_blank" method="post"> <input type="hidden" name="t" value="qf_booked_feedback"> <!--value 值为 QQ 邮箱订阅 id,请修改成自己的--> <input type="hidden" name="id" value="b3663724104278a735c2ba50cd0fac468fc9c844d61bd347"> <input id="to" onmouseover="this.style.backgroundColor="#fff";this.style.color="#737373"" onmouseout="this.style.backgroundColor="rgb(80, 153, 167)";this.style.color="#F9F900"" onfocus="if (this.value == '填写邮箱,订阅精彩...') {this.value="";}" onblur="if (this.value == '') {this.value="填写邮箱,订阅精彩...";}" value="填写邮箱,订阅精彩..." name="to" type="text" class="feed-mail-input"><input class="feed-mail-btn" type="submit" value="订阅" onmouseover="this.style.backgroundColor="#fff";this.style.color="#737373"" onmouseout="this.style.backgroundColor="#77a0d1";this.style.color="#fff""> </form> <div class="clear"></div> </div> <!--百度联盟异步代码,请修改下--> <script type="text/javascript">BAIDU_CLB_fillSlot("912208");</script>
使用说明:
①、修改第 10 行 value 值为你的 QQ 邮箱列表的 id 值,申请地址:http://list.qq.com
②、替换第 16 行百度广告代码为自己的标签广告代码;
③、将以上代码放置到博客侧边栏,你想要展示的位置即可;
④、颜色之类的请自行调整,就不啰嗦了。