添加滚动新闻等 2006-12-16 18:54
分类:博客教程字号:
大大
中中 小
内容有:
●更换题图图片
●以图片为背景发表文章
●添加滚动新闻
●添加天气预报
●添加百度搜索
更换题图图片:
<DIV align=left><IMG src="显示在面板里的图片" align=left></DIV>
<STYLE type=text/css>
body
{background:url(背景图片) repeat scroll!important;}
.logo
{background:url(题图上) no repeat no scroll!mportant;}
.banner
{background:url(题图下) no repeat no scroll!mportant;}
</STYLE>
以图片为背景发表文章:
进入文本编辑区-勾选“显示源代码”-在编辑栏内添加下列代码:
<table width="图片宽度" border="0">
<tr>
<td height="图片高度" background="背景图片地址"></td>
</tr>
</table>
然后,取消“显示源代码”的选择,会在编辑栏看到图片,而且光标也在图片之上,接着开始写文章,完了点击“发表文章”就行了。
添加滚动新闻:
CCTV新闻:
<table border=0 cellspacing=1 cellpadding=0 width=’98%’>
<td valign="top"><div align="center">
<iframe src="
http://www.cctv.com/homepage/46/index.shtml";
width="354" height="16" marginwidth="0" marginheight="0" frameborder="0"
scrolling="no"></iframe></div></table>
新浪新闻代码:
<TABLE cellSpacing=1 cellPadding=0 width="98%" border=0>
<TBODY>
<TR align=middle>
<TD align=middle bgColor=#ffffff colSpan=15 height=30><IFRAME border=0 marginWidth=0 marginHeight=0 src="
http://news.sina.com.cn/o/allnews/input/index.html"
frameBorder=No width="100%" scrolling=no height=15></IFRAME></TD></TR></TBODY></TABLE>
图文显示娱乐新闻代码:
娱乐:
<iframe WIDTH=120 HEIGHT=60 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://links.news.sohu.com/scscen013.html?uid=64238&fid=scscen013'></iframe>
新闻+体育+娱乐:
<iframe WIDTH=760 HEIGHT=108 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://links.news.sohu.com/scccss006.html?uid=64238&fid=scccss006'></iframe>
体育:
<iframe WIDTH=760 HEIGHT=7650 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://co.union.sohu.com/~sports?uid=64238&fid=scscsp009'></iframe>
娱乐新闻:
<iframe WIDTH=760 HEIGHT=3200 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://co.union.sohu.com/~yule?uid=64238&fid=scscen009'></iframe>
sohu综合新闻:
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://links.news.sohu.com/scscne002.html?uid=73916&fid=scscne002'></iframe>
体育新闻2:
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://links.news.sohu.com/scscsp002.html?uid=73916&fid=scscsp002'></iframe>
汽车新闻:
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://links.news.sohu.com/scscau002.html?uid=73916&fid=scscau002'></iframe>
娱乐新闻:
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://links.news.sohu.com/scscen002.html?uid=73916&fid=scscen002'></iframe>
财经新闻:
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://links.news.sohu.com/scscbu002.html?uid=73916&fid=scscbu002'></iframe>
IT新闻:
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://links.news.sohu.com/scscit002.html?uid=73916&fid=scscit002'></iframe>
旅游新闻:
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://links.union.sohu.com/scsctr002.html?uid=73916&fid=scsctr002'></iframe>
教育新闻:
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://links.news.sohu.com/scscle002.html?uid=73916&fid=scscle002'></iframe>
健康新闻:
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://links.news.sohu.com/scsche002.html?uid=73916&fid=scsche002'></iframe>
文化新闻:
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://links.news.sohu.com/scsccu002.html?uid=73916&fid=scsccu002'></iframe>
旅游新闻:
<iframe WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no SRC='http://links.news.sohu.com/scsctr002.html?uid=73916&fid=scsctr002'></iframe>
注:以上代码有些没有测试
添加天气预报:
/DIV> &ampampampampampampampampampltiframe src="
http://weather.265.com/weather.htm" width="150" height="54" frameborder="no"
border="0"
/DIV> 牋牋牋燶 添加百度搜索
/DIV>
<iframe src="
http://weather.265.com/weather.htm" width="150" height="54" frameborder="no" border="0"
添加百度搜索:
<DIV align=center><IFRAME style="WIDTH: 220px; HEIGHT: 35px" border=0 marginWidth=0
frameSpacing=0 marginHeight=0
src="
http://unstat.baidu.com/bdun.bsctn=dabaoku&cv=1&cid=31577&csid=102&rkcs=2&bgcr=EDEDEB&ftcr=FF0000&rk=
1&bd=1&bdas=0" frameBorder=0 width=200 scrolling=no height=30>
</IFRAME></DIV>
<DIV align=center>
<FORM action=http://www.google.com/search method=get
target=_blank></FONT></FORM></DIV>
<DIV align=center>
<FORM action=http://219.129.20.144:8000/sendmail.asp method=post target=_blank
onsubmit="function anonymous()
{return
chkinput2(this);
}">
<P><STRONG><FONT color=#0080ff>