cfpresentationslide
Creates a slide dynamically from an HTML source file,
HTML and CFML code, or an SWF source file.
If you do not specify a source file, you must include the HMTL or CFML code for
the body of the slide within the cfpresentationslide tag. The cfpresentationslide
is the child tag of the cfpresentation tag.
<cfpresentationslide>
cfpresentationslide();
This tag requires
Adobe ColdFusion.
Not supported on Lucee, OpenBD, etc.
cfpresentationslide Attribute Reference
title
string
Required
Specifies the title of the slide.
audio
string
Specifies the path of the audio file relative to the CFM page.
The audio file must be an MP3 file.
A slide cannot have both audio and video specified
bottomMargin
numeric
Default: 0
Specifies the bottom margin of the slide.
duration
numeric
Specifies the duration in seconds that the slide is played. (required)
notes
string
Specifies the notes used for the slide.
presenter
string
Specifies the presenter of the slide.
A slide can have only one presenter.
This name must match one of the presenter names in the
cfpresenter tag.
If no presenter is specified, it will take the first presenter
specified in the presenter list.
rightMargin
numeric
Default: 0
Specifies the
right margin of the slide.
scale
numeric
Default: 1.0
Specifies the scale used for the HTML content on the slide
presentation. If the scale attribute is not specified and
the content cannot fit in one slide, it will automatically
be scaled down to fit on the slide.
src
string
HTML or SWF source files used as a slide. You can specify
the following as the slide source:
an absolute path
a path relative to the CFM page
a URL: you can specify the URL only if the source is an HTML file
SWF files must be present on the system running ColdFusion and the path
must either be an absolute path or path relative to the CFM page.
If the src value is not specified, you must specify HTML/CFML code
as the body. If you specify a source file and HTML /CFML, ColdFusion
ignores the source file and displays the HTML/CFML in the slide.
topMargin
numeric
Default: 0
Specifies the top margin of the slide.
video
string
Specifies the video file used for the presenter of the slide.
If you specify video for the slide and an image for the presenter,
the video is used instead of the image for the slide. You cannot specify
both audio and video for a slide. The video must be an FLV file.
advance
string
Overrides the
cfpresentation tag autoPlay attribute for the slide:
* auto: after the slide plays, the presentation advances to the next slide automatically. This is the default value if
cfpresentation autoPlay="yes".
* never: after the slide plays, the presentation does not advance to the next slide until the user clicks the Next button. This is the default value if
cfpresentation autoPlay="no".
* click: after the slide plays, the presentation advances to the next slide if the user clicks anywhere in the main presentation area.
authpassword
string
Use to pass a password to the target URL for Basic Authentication. Combined with username to form a base64 encoded string that is passed in the Authenticate header.
authuser
string
Use to pass a user name to the target URL for Basic Authentication. Combined with password to form a base64 encoded string that is passed in the Authenticate header.
marginbottom
numeric
Bottom margin of the slide.
marginleft
numeric
Left margin of the slide.
marginright
numeric
Right margin of the slide.
margintop
numeric
Top margin of the slide.
useragent
string
Text to put in the HTTP User-Agent request header field. Identifies the request client software.
slides
string
Used to specify the slide numbers required to export from ppt file