Adobe Dreamweaver CS3 Bedienungsanleitung Seite 572

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 738
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 571
DREAMWEAVER CS3
User Guide
565
See also
About recordsets” on page 543
“Use predefined data formats” on page 578
Add dynamic text
1
In Design view, select text on the page, or click where you want to add dynamic text.
2 In the Bindings panel (Window > Bindings), select a content source from the list. If you select a recordset, specify
the column you want in the recordset.
The content source should contain plain text (ASCII text). Plain text includes HTML. If no content sources appear
in the list, or if the available content sources dont meet your needs, click the Plus (+) button to define a new content
source.
3 (Optional) Select a data format for the text.
4 Click Insert, or drag the content source onto the page.
The dynamic content appears on the page if you’re working in Design view with Live Data enabled (View > Live
Data).
If Live Data is disabled, a placeholder appears instead. (If you selected text on the page, the placeholder replaces the
text selection.) The placeholder for recordset content uses the syntax
{RecordsetName.ColumnName}, where
Recordset is the name of the recordset and ColumnName is the name of the column you chose from the recordset.
Sometimes, the length of the placeholders for dynamic text distorts the pages layout in the Document window. You
can solve the problem by using empty curly braces as placeholders, as described in the next topic.
Display placeholders for dynamic text
1
Select Edit > Preferences > Invisible Elements (Windows) or Dreamweaver > Preferences > Invisible Elements
(Macintosh).
2 In the Show Dynamic Text As pop-up menu, select { }, and click OK.
Make images dynamic
You can make images on your page dynamic. For example, suppose you design a page to display items for sale at a
charity auction. Each page would include descriptive text and a photo of one item. The pages general layout would
remain the same for each item, but the photo (and descriptive text) could change.
1 WiththepageopeninDesignview(View>Design),placetheinsertionpointwhereyouwanttheimagetoappear
on the page.
2 Select Insert > Image.
The Select Image Source dialog box appears.
3 Click the Data Sources option (Windows) or the Data Source button (Macintosh).
A list of content sources appears.
4 Select a content source from the list, and click OK.
The content source should be a recordset that contains the paths to your image files. Depending on the file structure
of your site, the paths can be absolute, document relative, or root relative.
Note: Dreamweaver does not currently support binary images stored in a database.
September 4, 2007
Seitenansicht 571
1 2 ... 567 568 569 570 571 572 573 574 575 576 577 ... 737 738

Kommentare zu diesen Handbüchern

Keine Kommentare