Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 853

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
<p>
<span id="currentSliderValue">Current Slider Value: <font
color="red"><strong>50</strong></font></span><br>
</p>
</cfform>
<p>
<br><b>Volume</b>:
<cfslider
name="s"
format="html"
min=1
max=100
value="50"
tip="yes"
onChange="sliderChange"
onDrag = "sliderDrag"
vertical="no"
width="200pt"
>
</p>
Using geographical maps
The
tag lets you embed a geographical map within your ColdFusion page. The following are the supported map
cfmap
types:
• earth
• terrain
• satellite
• hybrid
• map (default)
Using the marker window
The marker window opens when you click the marker icon in the map. It is used to provide information pertaining to
the locations in the map, for example address or latitude and longitude. The marker window can be populated with
static or dynamic content.
Populating data using static content
To manually populate data in the marker window, specify the value in the
Populating dynamic data using bind expression
To dynamically populate data, use the
function, or a URL. The bind expression uses bind parameters to specify dynamic information and the values of any
other form field attributes.
Pass the bind parameters to the bind expression. If you omit any of the parameters in the function call or URL, you get
an error. These parameters send information about the map and its state to the data provider function. The data for
these parameters is provided automatically. You do not set any values manually.
Provide the data as provided in the following code:
attribute with a bind expression that calls a CFC, JavaScript
markerbind
Last updated 1/20/2012
attribute.
markerwindowcontent
848

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents