Live data functions
You can use the following live data functions to mimic menu functionality:
• The
showLiveDataDialog()
• The
setLiveDataMode()
• The
getLiveDataMode()
You can use the remaining live data functions when you implement the translator API
function.
lateMarkup()
dreamweaver.getLiveDataInitTags()
Availability
Dreamweaver UltraDev 1.
Description
Returns the initialization tags for the currently active document. The initialization tags are the HTML tags that the
user supplies in the Live Data Settings dialog box. This function is typically called from a translator's
liveDataTranslateMarkup()
function.
Arguments
None.
Returns
A string that contains the initialization tags.
dreamweaver.getLiveDataMode()
Availability
Dreamweaver UltraDev 1.
Description
Determines whether the Live Data window is currently visible.
Arguments
None.
Returns
A Boolean value:
if the Live Data window is visible; false otherwise.
true
dreamweaver.getLiveDataParameters ()
Availability
Dreamweaver MX.
function is used for the View > Live Data Settings menu item.
function is used for the View > Live Data and View > Refresh Live Data menu items.
function determines whether Live Data mode is active.
function, so that the translator can pass the tags to the
DREAMWEAVER CS3
API Reference
liveDataTrans-
liveDataTranslate()
319