Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 1056

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Working with Documents, Charts, and Reports
When you assign a presenter to a slide, the presenter information is displayed in the control panel for the duration of
the slide. Images must be in JPEG format and the files must be located in a path relative to the ColdFusion page.
ColdFusion maps the
email
in the local e-mail application when you click it.
The following code creates three presenters for a presentation and assigns two of the presenters to slides:
<cfpresentation title="Sales Presentation">
<cfpresenter name="Hannah" title="V.P. of Marketing" image="hannah.jpg">
<cfpresenter name="Anne" title="V.P. of Sales" image="Anne.jpg">
<cfpresenter name="Wilson" title="V.P. of Engineering"
image="Wilson.jpg">
<cfpresentationslide title="Overview" presenter="Hannah" duration="30"
src="slide1.htm"/>
<cfpresentationslide title="Q1 Sales" presenter="Anne" duration="15"
src="slide2.htm"/>
<cfpresentationslide title="Projected Sales" presenter="Anne"
duration="15" src="slide3.htm" video="promo.flv"/>
<cfpresentationslide title="Conclusion" src="slide4.htm"/>
</cfpresentation>
The presenter Hannah is assigned to one slide and Anne is assigned to two slides. The last slide in the presentation has
no presenter assigned to it. Because Wilson is not assigned to a slide, his information does not appear in the
presentation. In the second slide, Anne's photo is displayed in the control panel. In the third slide, however, the video
called promo.flv runs in place of Anne's photo in the control panel for the duration of the slide. The video does not
display in the slide.
Note: Videos must be in SWF or FLV format. You cannot specify audio and video for the same slide.
Adding slides
Use one
cfpresentationslide
they are listed beneath the
cfpresentation
Source
Description
A SWF or HTML file
The file must be located on the system
running ColdFusion. You can specify an
absolute path or a path relative to the
ColdFusion page.
A URL
The URL must return HTML content.
HTML and CFML code
Enclose the HTML and CFML code within the
on the ColdFusion page
cfpresentationslide
attribute value to the contact link in the control panel. This link opens an e-mail message
tag for each slide in the presentation. The presentation runs the slides in the order
tag. You can create content for a slide in one of the following ways:
start and end tags.
Last updated 1/20/2012
Example
<cfpresentationslide title="slide 1"
src="presentation/slide1.swf"/>
<cfpresentationslide title="slide 2"
src="c:/presentation/slide2.htm"/>
<cfpresentationslide title="slide 3"
src="http://www.worldview.com/index.htm"/>
<cfpresentationslide>
<h3>Total Sales</h3>
<cfchart format="jpg" chartwidth="500"
show3d="yes">
<cfchartseries type="pie" query="artwork"
itemcolumn="issold" valuecolumn="price"/>
</cfchart>
</cfpresentationslide>
1051

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents