![]() |
专题推荐:
Mysql初级教程 |
MySQL数据库技术强化学习 |
nginx负载平衡 |
搜索引擎优化(SEO) |
Linux命令详解 |
Linux网管 |
常用手册: MySQL4.1中文手册 | HTML4.0参考手册 | APACHE 2.0中文在线手册 | MySQL 5.1参考手册 | FreeBSD 7.0使用手册 |
■飘
WinRAR是我们最常用的压缩软件,现在已经有越来越多的软件是用它的自解压功能制作安装文档,那么别人的自解压缩文件为什么可以做得那么漂亮?你为什么不能呢?不需要专门的知识及工具,只要几步就能打造出漂亮的多媒体自解压缩文件。
1.准备文件
制作多媒体自解压缩文件就需多媒体文件,所以要准备好一个MID格式的音频文件,一个GIF、JPG等格式的图片文件。本例中我们使用名为1.MID的音频文件及名为1.GIF的动画文件。
除了音频及图片文件外,我们还需要准备一个HTML格式文件。打开“记事本”,输入下面的代码(见图1),并保存为1.HTML:

<html>
<head>
<meta http-equiv="content-type"
content="text/html;charset=gb2312">
<title>我的多媒体自解压缩文件</title>
<bgsound
src="file:///c|/temp/1.mid"
loop="infinite">
</head>
<body background="file:///c|/temp/1.gif" bgcolor="navy" text="white" link="lime" vlink="green" alink="aqua">
<p><div id="layer1"
style="position:absolute;left:10px;top:6px;width:240px;height:160px;z-index:1;border-width:1px;border-style:none;">
<p
style="line-heigh:100%;margin-top:0;margin-bot-tom:0;"></p>
</div></p>
<p
style="line-height:100%;margin-top:0;margin-bot-tom:0;"></p>
<p
style="line-height:100%;margin-top:0;margin-bot-tom:0;"></p>
<p
style="line-height:100%;margin-top:0;margin-bot-tom:0;"></p>
<p
style="line-height:100%;margin-top:0;margin-bot-tom:0;"></p>
<p
style="line-height:100%;margin-top:0;margin-bot-tom:0;"></p>
<p
style="line-height:100%;margin-top:0;margin-bot-tom:0;"></p>
<p
style="line-height:100%;margin-top:0;margin-bot-tom:0;"></p>
<p
style="line-height:100%;margin-top:0;margin-bot-tom:0;"></p>
<p
style="line-height:100%;margin-top:0;margin-bot-tom:0;"></p>
</body>
</html>