Adobe Dreamweaver API Reference CS5 Instrukcja Użytkownika Strona 137

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 533
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 136
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("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\
"http://download.Macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\"
width=\"100\" height=\"22\"><param name=\"movie\" value=\"button1.swf\" /><param name=\
"quality\" value=\"high\" /><embed src=\"button1.swf\" quality=\"high\" pluginspage=\
"http://www.Macromedia.com/go/getflashplayer\" type=\"application/
x-shockwave-flash\"width=\"100\" height=\"22\"></embed></object>\");
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.
Przeglądanie stron 136
1 2 ... 132 133 134 135 136 137 138 139 140 141 142 ... 532 533

Komentarze do niniejszej Instrukcji

Brak uwag