在网页上制作仿电视演职员表效果
点击次数:27 次 发布日期:2008-11-21 11:41:02 作者:源代码网
|
源代码网推荐源代码网整理以下在网页的制作中,综合运用dhtml、CSS技术,结合〈marquee〉标签,可以在网页中逼真地仿造出类似电视节目片头中演职员表的效果。方法是,用〈div〉标签结合样式表的位置(position)属性,在屏幕上开辟一块区域,然后用样式表alpha滤镜将该区域设为半透明,再在该区域中应用〈marquee〉标签制作字幕移动效果。将以下代码复制到您网页的适当位置,立即就能看到本效果。代码中的区域大小和bg_line.gif 图形文件可按您的需要修改。
源代码网整理以下
以下为引用的内容:
源代码网整理以下〈div style="position:absolute;width:240px;height:200px;visibility:show;
源代码网整理以下z-index:10;left:310px;top:30px;background-color:lightyellow;
源代码网整理以下filter:alpha(opacity=85);"〉
源代码网整理以下〈table border=1 background="bg_100.jpg"〉
源代码网整理以下〈tr〉
源代码网整理以下〈td width=240〉
源代码网整理以下〈marquee style="height:200px;text-align:center;left:0px;top:1px;color:red;
源代码网整理以下margin-left:1" scrollamount=1 behavior=loop direction=up〉
源代码网整理以下网站建设单位:国瑞公司〈br〉〈br〉
源代码网整理以下网页制作:张 庆〈br〉〈br〉
源代码网整理以下时 间:二○○○年五月二十二日
源代码网整理以下〈/marquee〉
源代码网整理以下〈/td〉
源代码网整理以下〈/tr〉
源代码网整理以下〈/table〉
源代码网整理以下〈/div〉
|
源代码网供稿. |