今天下午,有朋友说我博客中的水滴很漂亮,请我教他。那我告诉您,它是怎样做出来的。
具体操作:控制面板----个人首页维护----自定义空白面板----新增空白面板----钩显示源代码(出现勾号,同时文档出现DIV的字样)----粘贴代码----勾选显示源代码(勾号消失)----保存新增面板----定制我的个人首页----添加模块----钩选新增个人面板----保存设置
水滴的代码:
不随鼠标滚动的代码
<CENTER><EMBED style="LEFT: 10px; POSITION: absolute;
TOP: -70px" align=right
src=http://imgfree.21cn.com/free/flash/27.swf width=980 height=1024
type=application/x-shockwave-flash ; quality="high"
wmode="transparent"></CENTER>
随鼠标滚动的代码
<DIV style="BORDER-RIGHT: medium none; BORDER-TOP: medium
none; FILTER: progid:DXImageTransform.Microsoftpadding:8px; ; LEFT:
expression(eval(document.body.scrollLeft) eval(document.body.clientWidth)-1000);
BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; POSITION:
absolute; ; TOP:
expression(eval(document.body.scrollTop) eval(document.body.clientHeight)-700);
TEXT-ALIGN: center"><TABLE cellSpacing=0 cellPadding=0
align=center border=0><TBODY><TR><TD><EMBED
style="POSITION: absolute"
src="http://imgfree.21cn.com/free/flash/27.swf" width=900
height=700 type=application/x-shockwave-flash wmode="transparent"
quality="high" ;>
</TD></TD></TR></TBODY></TABLE></DIV></DIV>
滚动新闻的代码:
新浪的:
<IFRAME border=0 name=sina_roll marginWidth=0 marginHeight=0
src="http://news.sina.com.cn/o/allnews/input/index.html"
frameBorder=No width="100%" scrolling=no
height=15></IFRAME>
网易的:
<iframe width="100%" HEIGHT=20 align=center MARGINWIDTH=0
Name=union163com MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0
SCROLLING=no
src="http://news2.163.com/news/marq1.jsp?ID=163&NO=0&boxColor=ffffff&txtColor=000000"></iframe>
CCTV:
<iframe src="http://www.cctv.com/homepage/46/index.shtml";
name="express" width="100%" height="20" marginwidth="0"
marginheight="0" frameborder="0"
scrolling="no"></iframe>
您学会了,做好了吗?如果还有什么需要,请给我留言。