
Chapter 17
418
Vis
determines the initial display condition of the layer (visible or not). Use a
scripting language, such as JavaScript, to control the visibility property and
dynamically display layer contents. Choose from the following options:
•
Default does not specify a visibility property, but most browsers interpret
this as Inherit.
•
Inherit uses the visibility property of the layer’s parent.
•
Visible displays the layer contents, regardless of the parent’s value.
•
Hidden hides the layer contents, regardless of the parent’s value. Note that hidden
layers created with
ilayer
still take up the same space as if they were visible.
Bg Image
specifies a background image for the layer. Click the folder icon to
Browse to and select an image file, or type the path for the image in the text field.
Bg Color
specifies a background color for the layer. Leave this option blank to
specify a transparent background.
Tag
determines the HTML tag to be used.
span
and
div
are recommended.
layer
and
ilayer
create Netscape Navigator layers, but are only viewable in
Netscape Navigator 4 browsers.
Overflow
determines what happens if the contents of a layer exceed its set size.
Choose from the following options:
•
Visible increases the layer size so that all of the layer’s contents ares visible. The
layer expands downward and to the right.
•
Hidden maintains the layer’s size and clips any content that doesn’t fit. No
scroll bars are provided.
•
Scroll adds scroll bars to the layer regardless of whether the contents exceed the
layer’s size. Specifically providing scroll bars avoids confusion resulting from the
appearance and disappearance of scroll bars in a dynamic environment. This
option works only in browsers that support scroll bars.
•
Auto makes scroll bars appear only when the layer’s contents exceed
its boundaries.
Clip
defines the visible area of a layer and can be used to cut content from the edges
of the layer. Specify values that represent the distance in pixels from the layer’s
boundaries. T (top) and L (left) settings are relative to the layer, not to the page.
Use Left, Top or PageX, PageY
(
layer
and
ilayer
only) lets you position a layer
in relation to its parent. The Left, Top option places the layer in relation to the top
left corner of its parent. The PageX, PageY option places the layer in an absolute
location relative to the top left corner of the page, regardless of the position of the
parent layer.
Src
(
later
and
ilayer
only) lets you display another HTML document within
the layer. Click the folder icon to browse to and select the document, or type the
path of the document. Note that Dreamweaver does not display this property in
the Document window.
Summary of Contents for 38028779 - Macromedia Dreamweaver - Mac
Page 1: ...macromedia Using Dreamweaver...
Page 148: ...Chapter 4 148...
Page 296: ...Chapter 12 296...
Page 472: ...Chapter 18 472...
Page 512: ...Chapter 21 512...
Page 562: ...Appendix 562...