Dom.convertnextactivecontent(), Keyboard functions – Adobe Dreamweaver API Reference CS5 User Manual
Page 137
132
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
Arguments
forceUpdate
•
The
forceUpdate
argument is a Boolean value that indicates whether to override the user’s preference settings
(
true
, = override). This argument is optional.
Returns
A Boolean value:
true
if all active content was converted successfully. Returns
false
if some active content that
needed to be converted was not converted, such as object tags in a locked region of a template instance.
Example
if( !dom.convertActiveContent(true) ) {
alert(dw.loadString("ActiveContent/notAllConverted"));
}
dom.convertNextActiveContent()
Availability
Dreamweaver CS3.
Description
Specifies that the next object tag that is inserted (for the remainder of the current edit—one undoable action) has a
script built for it. This function allows you to use a third-party extension to generate the appropriate script for the
specific active content.
Arguments
None.
Returns
Nothing.
Example
dom.convertNextActiveContent();
dom.insertHTML("\");
Keyboard functions
Keyboard functions mimic document navigation tasks that are accomplished by pressing the arrow, Backspace, Delete,
Page Up, and Page Down keys. In addition to such general arrow and key functions as
arrowLeft()
and
backspaceKey()
, Dreamweaver also provides methods for moving to the next or previous word or paragraph as well
as moving to the start of the line or document or the end of the line or document.