分类: 博大精深 |
怎样添加新闻?
<center><IFRAME src="http://sports.sina.com.cn/iframe/run/index.htm" frameBorder=0 width=157 scrolling=no height=240></IFRAME></center>
滚动字幕的设定!
<MARQUEE class=p131 style="WIDTH: 98px; HEIGHT: 148px" scrollAmount=1 scrollDelay=60 direction=up height=148 200px; WIDTH: align="left" onmouseout="this.start ()" onmouseover="this.stop()">
<P align=left><FONT size=3>文字</FONT></P></MARQUEE>
<DIV align=center>
<DIV style="OVERFLOW: auto; WIDTH: 159px; HEIGHT: 145px">
<MARQUEE class=p131 scrollAmount=1 scrollDelay=60 direction=up height=145 onmouseover="this.stop()" onmouseout="this.start ()" align="left" WIDTH: 200px;>
<P align=left><FONT size=3> 文字</FONT></P></MARQUEE>
<DIV id=youxia style="RIGHT: 10px; POSITION: absolute; TOP: 100px"><IMG src="图片地址" border=0></A></DIV>
悬浮图片
左侧代码:
右侧代码:
<DIV style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; FILTER: progid:DXImageTransform.Microsoftpadding:8px; ; LEFT: expression_r(eval_r(document.body.scrollLeft)+eval_r(document.body.clientWidth)-110); BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; POSITION: absolute; ; TOP: expression_r(eval_r(document.body.scrollTop)+eval_r(document.body.clientHeight)-500); TEXT-ALIGN: center"><IMG src="图片地址" border=0></DIV>
1、clientWidth后面负数的绝对值越大,图片越靠近左侧
2、clientHeight后面负数的绝对值越大,图片越靠近上部
3、“图片地址”处加入你想用到的图片地址即可,你可以在网上找找.