|
学了一段时间的DW,试着用DW做了一个特效帖,研究了好久,许多东西还是糊里糊涂的,不过还是把最近学的东西整理下,做个笔记。 会移动的文字 <*marquee direction=left>文字从右向左移!<*/marquee> <*marquee behavior=scroll>移动方式:一圈一圈绕着走!<*/marquee> <*marquee behavior=slide>移动一次!<*/marquee> <*marquee behavior=alternate>来回移动!<*/marquee> <*marquee scrollamount=5>速度:数值越小,速度越慢<*/marquee> <*marquee scrolldelay=500 scrollamount=100>延时:走一步,停一停!<*/marquee> <*marquee bgcolor=底色>祝大家中秋快乐!<*/marquee> 预定义色彩:Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime, Fuchsia, White, Green, Purple, Silver, Yellow, Aqua <*marquee height=40 width=50% bgcolor=aaeeaa> 移动的背景面积<*/marquee> 实例:向上流动的字体(电影字幕) <*MARQUEE direction=up height=40 scrollAmount=3 scrollDelay=150 width=400> <*CENTER><*FONT color=#ffaa00 face=黑体 size=5>中间文字 <*/FONT><*/CENTER><*/MARQUEE> 插入透明FLASH 选中已插入的flash动画,在属性面板中点击参数,在弹出的对话框中点击加号图标,在左侧的“参数”中键入“wmode”,在右侧的“值”框内键入“transparent”,再点击确定按钮。代码:wmode="transparent" 注:如果要用透明FLASH做背景,用布局面板中的“绘制层”,在网页的适当位置插入一个新的层,在层中再插入透明FLASH即可。
实例:<*EMBED pluginspage=http://www.macromedia.com/go/getflashplayer align=right src=http://mailimg-fs.hanmail.net/fl/effect/18/e-fall1.swf width=400 height=400 type=application/x-shockwave-flash wmode="transparent" quality="high"><*/EMBED> 插入背景音乐 插入“媒体”中的“插件”,选择要插入的音乐,加上代码“hidden=true”隐藏下。 <*EMBED src=http://www.ewen.com.cn/wma/E00000077/E0000007703.wma hidden=true type=audio/x-ms-wma AUTOSTART="TRUE" LOOP="TRUE"><*/EMBED> 成套文字: 利用表格的嵌套:用布局菜单中的“布局模式”根据需要画一个比一个小的表格。每张表格的背景选择不同的图片,可以出现各种效果。 实例: 我试做的特效帖:http://www.ygbj.net/音画/无题.html
|