Adobe COLDFUSION 9 Manual page 1054

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Working with Documents, Charts, and Reports
Tag
cfpresentation
cfpresentationslide
cfpresenter
You specify at least one slide for the presentation and can assign each presenter to one or more slides. The following
example shows a slide presentation with content from four different sources and two presenters:
<cfpresentation title="myPresentation">
<cfpresenter name="Tuckerman" title="V.P. of Marketing"
email="tuckerman@company.com">
<cfpresenter name="Anne" title="V.P. of Sales" email="anne@company.com">
<cfpresentationslide src="slide1.swf" title="Overview" duration="10"
presenter="Anne"/>
<cfpresentationslide src="slide2.htm" title="Q1 Sales" duration="30"
presenter="Anne"/>
<cfpresentationslide src="http://www.markettrends.com/index.htm"
title="Market Trends" duration="30" presenter="Tuckerman"/>
<cfpresentationslide title="Summary" duration="10">
<h3>Summary</h3>
<ul>
<li>Projected Sales</li>
<li>Challenges Ahead</li>
<li>Long Term Goals</li>
</ul>
</cfpresentationslide>
</cfpresentation>
Note: The
cfpresentationslide
slash as a shortcut for the end tag.
When the presentation runs, the slides appear in the order they are listed on the ColdFusion page for the duration
specified in each slide. The presenter information is displayed in a control panel next to the slide to which it is assigned.
Creating a slide presentation
Use the
tag to customize the look of the slide presentation. Customizations can include the control
cfpresentation
locations and the colors used in the presentation interface, as the following example shows:
<cfpresentation title="Sales Presentation" controlLocation="left" primaryColor="##0000FF"
shadowColor="###000033" textColor="##FFFF00" showNotes="yes">
The title appears at the top of the control panel. The color settings affect the presentation interface, but not the format
of the slides within the presentation. Set the
individual slides.
Description
Defines the look of the presentation and determines whether the presentation is saved to files or run
directly in the client browser.
Defines the content of the slide from one of the following:
A SWF file
An HTML file
A URL that returns HTML content
HTML and CFML code in the
cfpresentationslide
Provides information about the person presenting a slide. You can assign a presenter to one or more
slides. Presenter information is displayed in the control panel for the duration of the slide.
tag requires an end tag. If you specify a source file as the slide content, use the end
attribute to
showNotes
Last updated 8/5/2010
start and end tags
to display text notes that are defined for
yes
1049

Advertisement

Table of Contents
loading

Table of Contents