Home > Development Tools > dreamweaver > Summary of some usage in Dreamweaver8

Summary of some usage in Dreamweaver8

不言
Release: 2018-09-29 15:52:27
forward
6040 people have browsed it

This article brings you a summary of some usage in Dreamweaver8. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

Hotspot Map
shape="rect" // Rectangle
shape="poly" // Polygon
shape="circle" // Ellipse

<img src="animals.jpg" border="0" usemap="#Map"  />
<map name="Map" id="Map">
  <!-- 椭圆 -->
  <area shape="circle" coords="341,63,27" href="a.html" target="_blank" />
  <!-- 矩形 -->
  <area shape="rect" coords="152,85,213,178" href="b.html" target="_blank" />
  <!-- 多边形 -->
  <area shape="poly" coords="250,167,240,199,228,218,206,223,188,228,179,240,181,258,187,269,199,275,214,257,231,254,259,248,260,213,266,192,282,187,284,173" href="c.html" target="_blank" />
</map>
Copy after login

Flash

After using Flash to create animation, first save it as a .fla file, and then in .swf format Export the file.

There are 2 plug-ins in the browser that can play Flash animations:
    1. Netscape Navigator plug-in;
    2. ActiveX control;

In the web page created by Dreamweaver, use the embed tag (for the Netscape Navigator plug-in) and the object tag (for the ActiveX control) to insert the Flash file to ensure that all browsers can play it.

How to insert a .swf format Flash file into the page:
Method 1:
"Insert"->"Media"->"Flash" command;

Method 2:
In the "Media" tab->Select the "Flash" icon;

Then select your. Shockware files in swf format are sufficient.

Insert flash text

Method 1:
“Insert "->"Media"->"Flash Text"

Method 2:
Switch the insertion bar to "Common"->"Media" tab-> "Flash text" icon

Note:
1. The saving path of the .Swf file of Flash text cannot exist in Chinese, but the path after saving can be changed .

2. After saving the document, insert the Flash button or text object.

Insert Flash file

Flash file refers to .fla file.

The .swf file refers to the Shockware file of Flash. If the Shockware plug-in is loaded in the browser, you can load this type of file and browse it (almost all browsers support this type of file).

In Dreamweaver, use the "Insert" bar to insert .swf files.

Insert page background music

<bgsound src="爱情的背影_傅天颖.wma" balance="1" delay="1" loop="-1" volume="1" />
Copy after login

Insert sound file

Insert sound into web page in Dreamweaver
Method One:
"Insert"->"Media"->"Plug-in"

Method two:
Switch the insert bar to "Common"->"Media" tab-> "Plug-in" icon (the last one)

Insert video file

It is the same as the method of inserting sound files, both using the embed tag. For example:

<embed src="MyLove.wmv" width="400" height="300"></embed>
Copy after login

If you want to provide the download of video files, enter text, such as: "Video Download", and then set the download link address in the properties of the text.

Behaviors

##Behaviors are JavaScript events that apply to specific HTML tags.

Every browser has a list of events that are associated with a series of actions in a "behavior".

In order to support more events, please choose a higher version of the browser. (Recommended for IE 4.0 and above)

Behavior = page element event action For example: People snore while sleeping

Note: Not all browsers interpret JavaScript in the same way;
Even different versions of the same browser interpret code in different ways;
Select "Window "-> "Behavior" command (or press the Shift F4 key combination), the "Behavior" panel will appear;

layer

##The layer is the container containing the content.

2 ways to create a layer:

Method one:

"Insert"->"Layout Object"->"Layer" command;

Method 2:

Switch the insertion bar to "Layout"->Select "Draw Layer" "Icon-> Drag the size within the page to form a layer;

You can display or hide the content of the layer through the "properties" of the layer;

You can also use layers to create layer animations;

Note: If the layer mark is not displayed, select the "View"->"Visual Assistant"->"Invisible Elements" command to display it;

The above is the detailed content of Summary of some usage in Dreamweaver8. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template