MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Guida Utente Pagina 22

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 142
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 21
22
Serena® Collage® 5.1.3
Chapter 3 Design-Time Component Reference
About Design-Time Components
Design-time components are used to build information that depends upon other data in
the project; they manage the ways that assets are presented to users. For example, you
can use design-time components to create navigation bars or master pages, or merge
content from multiple assets together.
To Use a Design-Time Component:
Insert the component in Macromedia Dreamweaver, using the component integration
to Dreamweaver,
or
Manually enter the component tag directly into the HTML code (see tag syntax below).
This chapter contains complete syntax examples for each component which you can
use to create your own component tags.
Example of Syntax
Refer to the example below to help you write design-time components. All design-time
components require opening and closing tags, with specific properties, and many include
a body section with additional parameters. See the following sections for more
information.
What are the Design-Time Components?
The following table describes the design-time components that are included with Serena
Collage.
<nexus:component dwcomptype="Conditional" classid="nexus/
components/Conditional" code="$nexusComponents"
condition="OS">
<PARAM name="windows" value="windows.html">
<PARAM name="mac" value="mac.html">
<PARAM name="unix" value="unix.html">
<PARAM name="default" value="default.html">
</nexus:component>
Opening tag
Body
Closing tag
Component Description For details, see...
AssetQuery Queries for assets that fulfill certain criteria. Then, for each asset
found, you can generate some HTML that is specific to that asset.
The main tag describes what query to use. The body of the tag is
the HTML that will be repeated/generated for each found asset.
"AssetQuery" on
page 32
Banner Automatically inserts either standard text or a standard image onto
a master page, which you can then flatten text onto.
"Banner" on page 54
Conditional Generates javascript that causes the browser to redirect the user to
a different page based on various possible conditions. This might
be used as a top-level page for a site, for example, that redirects a
browser to the appropriate start page for the user's language.
"Conditional" on
page 57
Vedere la pagina 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 141 142

Commenti su questo manuale

Nessun commento