Adobe Dreamweaver API Reference CS5 Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie Adobe Dreamweaver API Reference CS5. Adobe Dreamweaver API Reference CS5 User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 533
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
ADOBE
®
DREAMWEAVER
®
CS5 & CS5.5
API Reference
Przeglądanie stron 0
1 2 3 4 5 6 ... 532 533

Podsumowanie treści

Strona 1 - CS5 & CS5.5

ADOBE® DREAMWEAVER® CS5 & CS5.5API Reference

Strona 2 - Legal notices

5Last updated 8/27/2013Chapter 2: The file I/O APIAdobe® Dreamweaver® CS5 includes a C shared library called DWfile. The DWfile lets authors of object

Strona 3 - Contents

95DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013Argumentsvoid *connectionData, char checkOutName[64], char emailAdd

Strona 4

96DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013• The successList argument is a list of Boolean values that are pop

Strona 5

97DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013bool SCS_GetFileCheckoutList()DescriptionThis function returns a li

Strona 6 - Chapter 1: Introduction

98DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013Argumentsvoid *connectionData, char errorMsg[], const int *msgLengt

Strona 7

99DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013bool SCS_GetDesignNotes()DescriptionThis function retrieves key-val

Strona 8

100DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013• The noteLength argument is the length of the largest Design note

Strona 9

101DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013bool SCS_canGet()DescriptionThis function returns whether the Get

Strona 10 - Chapter 2: The file I/O API

102DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013ReturnsA Boolean value: true if successful; false otherwise.bool S

Strona 11 - DWfile.exists()

103DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013• The remotePath argument is a list of remote filenames or folder

Strona 12 - DWfile.getModificationDate()

104DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013ReturnsA Boolean value: true if successful; false otherwise.Exampl

Strona 13 - DWfile.getCreationDate()

6DREAMWEAVER API REFERENCEThe file I/O APILast updated 8/27/2013 var fileURL = "file:///c|/Config/myconfig.cfg"; var newURL ="file:///

Strona 14 - DWfile.getSize()

105DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013ExampleSee “bool SCS_BeforeGet()” on page 103.bool SCS_AfterPut()

Strona 15 - DWfile.read()

106Last updated 8/27/2013Chapter 11: ApplicationThe application functions perform operations related to the Adobe® Dreamweaver® interaction with other

Strona 16 - DWfile.remove()

107DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013 function goToadobe(){ var prevBrowsers = dw.getBrowserList(); var theBrowser = "&

Strona 17 - DWfile.write()

108DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013ExampleA call to the dreamweaver.getExtensionEditorList(".gif") function might

Strona 18

109DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013dreamweaver.getPrimaryBrowser()AvailabilityDreamweaver 3.DescriptionGets the path to the

Strona 19 - Chapter 3: The HTTP API

110DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013ReturnsA string that contains the path on the computer of the user to the secondary brows

Strona 20 - MMHttp.clearTemp()

111DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013ArgumentsbookID • The bookID argument, which is required, has the format: ID:pageThe ID p

Strona 21 - MMHttp.getFile()

112DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013dreamweaver.openWithExternalTextEditor()AvailabilityDreamweaver 3.DescriptionOpens the cu

Strona 22 - MMHttp.getFileCallback()

113DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013ReturnsA Boolean value: true if Flash MX (or a later version) is installed on the local c

Strona 23 - MMHttp.postText()

114DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013Arguments:fileName• The fileName argument is a string that specifies the name of the file

Strona 24 - MMHttp.postTextCallback()

7DREAMWEAVER API REFERENCEThe file I/O APILast updated 8/27/2013 var fileURL = "file:///c|/temp/mydata.txt"; if (DWfile.exists(fileURL)){

Strona 25 - The HTTP API

115DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013Example // Launches the notepad application to edit filefoo.txt file. dreamweaver.launch

Strona 26 - How Design Notes work

116DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013ReturnsA Boolean value that indicates whether the option is on.dreamweaver.quitApplicatio

Strona 27 - MMNotes.get()

117DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013Argumentssource, {title} • The source argument is a string that contains source code, whi

Strona 28 - MMNotes.getSiteRootForFile()

118DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013Arguments{strCategory}• The strCategoryargument, which is optional, must be one of the fo

Strona 29 - MMNotes.localURLToFilePath()

119DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013Argumentsid, idleFunction, interval• The id argument is a unique string used to identify

Strona 30 - MMNotes.remove()

120DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013BridgeTalk.bringToFront()AvailabilityDreamweaver CS3.DescriptionMakes the specified appli

Strona 31 - The Design Notes C API

121DREAMWEAVER API REFERENCEApplicationLast updated 8/27/2013ReturnsA Boolean value indicating whether communication with the Bridge application was a

Strona 32 - BOOL GetNote()

122Last updated 8/27/2013Chapter 12: WorkspaceWorkspace API functions create or operate on an element of the Adobe® Dreamweaver® workspace. They perfo

Strona 33 - BOOL GetNotesKeys()

123DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013DescriptionUndoes the previous step in the document.ArgumentsNone.ReturnsNothing.EnablerSee

Strona 34 - BOOL GetSiteRootForFile()

124DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ExampleIf the user’s last action applied a Cascading Style Sheet (CSS) style to a selected

Strona 35 - BOOL LocalURLToFilePath()

8DREAMWEAVER API REFERENCEThe file I/O APILast updated 8/27/2013ArgumentsfileURL • The fileURL argument, which is expressed as a file:// URL, is the f

Strona 36 - BOOL RemoveNote()

125DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013DescriptionStarts recording steps in the active document; the previously recorded command i

Strona 37 - BOOL SetNote()

126DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dreamweaver.historyPalette.clearSteps()AvailabilityDreamweaver 3.DescriptionClears all step

Strona 38 - The FWLaunch API

127DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ReturnsAn array that contains the position indices of all the selected steps. The first pos

Strona 39 - FWLaunch.getJsResponse()

128DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ExampleIf the three steps shown in the following example are selected in the History panel,

Strona 40 - FWLaunch.mayLaunchFireworks()

129DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ExampleA call to dreamweaver.historyPalette.replaySteps([0,2,3]) function plays the first,

Strona 41 - FWLaunch.validateFireworks()

130DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dreamweaver.historyPalette.setUndoState()AvailabilityDreamweaver 3.DescriptionPerforms the

Strona 42

131DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013DescriptionSets the default object for a pop-up menu. The default object’s icon represents

Strona 43

132DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsforceUpdate• The forceUpdate argument is a Boolean value that indicates whether to

Strona 44 - Chapter 6: Flash integration

133DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.arrowDown()AvailabilityDreamweaver 3.DescriptionMoves the insertion point down the spec

Strona 45 - SWFFile.getNaturalSize()

134DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013Arguments{nTimes}, {bShiftIsDown}• The nTimes argument, which is optional, is the number of

Strona 46 - SWFFile.readFile()

9DREAMWEAVER API REFERENCEThe file I/O APILast updated 8/27/2013 var file1 = "file:///c|/temp/file1.txt"; var time1 = DWfile.getCreationDat

Strona 47

135DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.deleteKey()AvailabilityDreamweaver 3.DescriptionThis function is equivalent to pressing

Strona 48 - • ModalDialogWindow

136DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013Arguments{bShiftIsDown} • The bShiftIsDown argument, which is optional, is a Boolean value

Strona 49

137DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.pageDown()AvailabilityDreamweaver 3.DescriptionMoves the insertion point down one page

Strona 50

138DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013Arguments{nTimes}, {bShiftIsDown} • The nTimes argument, which is optional, is the number o

Strona 51 - Flash integration

139DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.startOfLine()AvailabilityDreamweaver 3.DescriptionMoves the insertion point to the begi

Strona 52

140DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dreamweaver.getMenuNeedsUpdating()AvailabilityDreamweaver 3.DescriptionChecks whether the s

Strona 53

141DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsNone.ReturnsNothing.Results window functionsResults window functions let you inter

Strona 54

142DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013Note: This function is supported only in the Validation, Browser Compatibility Check, and S

Strona 55 - The Smart Objects API

143DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013• The strDisplay argument is the string to display to the user in the first column of the R

Strona 56

144DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dreamweaver.resultsPalette.cut()AvailabilityDreamweaver MX.DescriptionSends a cut message t

Strona 57

10DREAMWEAVER API REFERENCEThe file I/O APILast updated 8/27/2013DescriptionThis function gets the size of a specified file.ArgumentsfileURL • The fil

Strona 58

145DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ReturnsNothing.EnablerSee “dreamweaver.resultsPalette.canOpenInBrowser()” on page 516.drea

Strona 59 - Chapter 8: The database API

146DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dreamweaver.resultsPalette.selectAll()AvailabilityDreamweaver MX.DescriptionSends a Select

Strona 60 - Database connection functions

147DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013Note: Use only on stand-alone results windows created with “dreamweaver.createResultsWindow

Strona 61 - MMDB.getConnection()

148DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsitemIndex • The itemIndex argument is the index of the item whose data is to be re

Strona 62 - MMDB.getConnectionName()

149DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentscmdDoc, arrButtons• The cmdDoc argument is a document object that represents the c

Strona 63 - MMDB.getConnectionString()

150DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013resWin.setFileList()AvailabilityDreamweaver 4.DescriptionGives the Results window a list of

Strona 64 - MMDB.getPassword()

151DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ReturnsNothing.resWin.startProcessing()AvailabilityDreamweaver 4.DescriptionStarts processi

Strona 65 - MMDB.getRemoteDsnList()

152DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013Additionally, the Server Debug panel can display debug data from other server models. To se

Strona 66 - MMDB.getUserName()

153DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013 <serverdebuginfo> <context> <template><![CDATA[/ooo/master.cfm]]>

Strona 67 - MMDB.needToPromptForRdsInfo()

154DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.getHideAllVisualAids()AvailabilityDreamweaver 4.DescriptionThis function determines whe

Strona 68 - MMDB.popupConnection()

11DREAMWEAVER API REFERENCEThe file I/O APILast updated 8/27/2013ArgumentsfileURL • The fileURL argument, which is expressed as a file:// URL, is the

Strona 69 - MMDB.showColdFusionAdmin()

155DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.getShowFrameBorders()AvailabilityDreamweaver 3.DescriptionThis function gets the curren

Strona 70 - MMDB.showRdsUserDialog()

156DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.getShowInvalidHTML()AvailabilityDreamweaver 4.DescriptionThis function determines wheth

Strona 71 - MMDB.testConnection()

157DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.getShowLayerBorders()AvailabilityDreamweaver 3.DescriptionThis function gets the curren

Strona 72 - Database access functions

158DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.getShowSyntaxColoring()AvailabilityDreamweaver 4.DescriptionThis function determines wh

Strona 73 - MMDB.getColumns()

159DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.getShowTracingImage()AvailabilityDreamweaver 3.DescriptionThis function gets the curren

Strona 74 - MMDB.getColumnsOfTable()

160DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.setEditNoFramesContent()AvailabilityDreamweaver 3.DescriptionThis function toggles the

Strona 75 - MMDB.getProcedures()

161DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsbPreventLayerOverlaps • The bPreventLayerOverlaps argument is a Boolean value: tru

Strona 76 - MMDB.getSPColumnList()

162DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013DescriptionThis function toggles the View > Head Content option on and off.ArgumentsbSho

Strona 77 - The database API

163DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.setShowInvisibleElements()AvailabilityDreamweaver 3.DescriptionThis function toggles th

Strona 78 - MMDB.getSPParameters()

164DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ReturnsNothing.dom.setShowRulers()AvailabilityDreamweaver 3.DescriptionThis function toggle

Strona 79 - MMDB.getTables()

12DREAMWEAVER API REFERENCEThe file I/O APILast updated 8/27/2013DWfile.setAttributes()AvailabilityDreamweaver MX.DescriptionThis function sets the sy

Strona 80 - MMDB.getViews()

165DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ReturnsNothing.dom.setShowToolbar()AvailabilityDreamweaver 4.DescriptionThis function shows

Strona 81 - MMDB.showSPResultset()

166DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ReturnsNothing.dom.setSnapToGrid()AvailabilityDreamweaver 3.DescriptionThis function toggle

Strona 82

167DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013DescriptionThis function gets the current state of the View > Status Bar option.Argument

Strona 83

168DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsNone.ReturnsA Boolean value: true if line numbers appear; false otherwise.dreamwea

Strona 84 - Develop a new connection type

169DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ReturnsNothing.dreamweaver.htmlInspector.setShowInvalidHTML()AvailabilityDreamweaver 4.Desc

Strona 85 - The Connection API

170DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsbShow • The bShow argument is a Boolean value: true indicates that the syntax colo

Strona 86

171DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dreamweaver.setShowStatusBar()AvailabilityDreamweaver 3.DescriptionThis function toggles th

Strona 87

172DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013Toolbar functionsThe following JavaScript functions let you get and set the visibility of t

Strona 88 - The generated include file

173DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013 var tb_ids = new Array(); tb_ids = dom.getToolbarIdArray();dom.getToolbarItemValue()Avail

Strona 89 - ColdFusion

174DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013Argumentstoolbar_id • The toolbar_id argument is the ID of the toolbar, which is the value

Strona 90

13DREAMWEAVER API REFERENCEThe file I/O APILast updated 8/27/2013• The text argument indicates the string the function has to write.• The mode argumen

Strona 91

175DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013• The toolbarItemId argument is a string that specifies the ID of the toolbar item.• The at

Strona 92

176DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013Note: There is no way to determine the current position of a toolbar.Argumentstoobar_id, po

Strona 93

177DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013 var dom = dw.getDocumentDOM(); if(dom != null && dom.getToolbarVisibility("m

Strona 94

178DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ReturnsOne of the following strings: • The "head" string if the HEAD area is acti

Strona 95

179DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsviewString • The viewString argument is the view to produce; it must be one of the

Strona 96

180DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013 dw.cascade()dreamweaver.getActiveWindow()AvailabilityDreamweaver 3.DescriptionThis functio

Strona 97

181DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ReturnsA Boolean value: true if any panel is visible; false otherwise.dreamweaver.getFloate

Strona 98

182DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ReturnsA Boolean value: true if the floating panel is visible and in the front; false other

Strona 99

183DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsNone.Returns The "design" or "code" strings, depending on whic

Strona 100

184DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsdocumentObject, {bActivateFrame} • The documentObject argument is the object at th

Strona 101

14Last updated 8/27/2013Chapter 3: The HTTP APIExtensions are not limited to working in the local file system. Adobe® Dreamweaver® provides a mechanis

Strona 102

185DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013• The bIsVisible argument is a Boolean value that indicates whether to make the floating pa

Strona 103

186DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentssnapDistance • The snapDistance argument is an integer that represents the snappin

Strona 104

187DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dreamweaver.tileVertically()AvailabilityDreamweaver MX (Windows only), Dreamweaver 8 (added

Strona 105 - Enablers

188DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013DescriptionThis function updates the Reference floating panel. If the Reference floating pa

Strona 106

189DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013Related files functionsThe related files functions enhance the editing experience of coders

Strona 107

190DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsNone.ReturnsA string that is the absolute local URL of the related file.dreamweave

Strona 108

191DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsNone.ReturnsAn array of String objects representing extensions of the files shown

Strona 109 - Last updated 8/27/2013

192DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dreamweaver.setDynamicRelatedFilesDiscoverySetting()AvailabilityDreamweaver CS5.Description

Strona 110

193DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsNone.ReturnsNone.dreamweaver.canSaveAllRelatedFiles()AvailabilityDreamweaver CS5.D

Strona 111 - Chapter 11: Application

194DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013A Boolean: true to apply the filter selected in the Related Files bar to the result. Use fa

Strona 112

Last updated 8/27/2013Legal noticesLegal noticesFor legal notices, see http://help.adobe.com/en_US/legalnotices/index.html.

Strona 113 - • "Fireworks 3"

15DREAMWEAVER API REFERENCEThe HTTP APILast updated 8/27/2013DescriptionDeletes the _mmServerScripts folder—and all its files—under the root folder fo

Strona 114

195DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013If you are an extension developer, make sure that you invoke the refreshRelatedFiles() func

Strona 115 - Application

196DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013DWFilenameFilter referenceThe objects of type DWFilenameFilter are new to Dreamweaver CS5 a

Strona 116

197DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013DWFilenameFilter.doesExcludeExtension()AvailabilityDreamweaver CS5.DescriptionThis function

Strona 117

198DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsNone.ReturnsA Boolean: true if the filter matches any file.DWFilenameFilter.getExp

Strona 118

199DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsNone.ReturnsAn array of string objects representing the extensions that are to be

Strona 119

200DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013DescriptionThis function is used to add an extension to the filter object’s exclusion list.

Strona 120 - Global application functions

201DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013Vertical Split view functionsThe Vertical Split view functions facilitate a side-by-side vi

Strona 121

202DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013DescriptionThis function gets the name of the primary view. In Split view or Split code, th

Strona 122

203DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013ArgumentsNone.ReturnsA Boolean value: true if a related file view is open, false otherwise.

Strona 123

204DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013DescriptionThis function determines whether the selection in Code view is entirely within a

Strona 124

16DREAMWEAVER API REFERENCEThe HTTP APILast updated 8/27/2013 <html> <head> <title>Clean Up Temp Files on Shutdown</title>

Strona 125 - Bridgetalk.send()

205DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.collapseSelectedCodeFragmentInverse()AvailabilityDreamweaver 8.DescriptionThis function

Strona 126

206DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.expandSelectedCodeFragments()AvailabilityDreamweaver 8.DescriptionThis function expands

Strona 127 - Chapter 12: Workspace

207DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dreamweaver.htmlInspector.collapseFullTagInverse()AvailabilityDreamweaver 8.DescriptionThis

Strona 128

208DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013 dreamweaver.htmlInspector.collapseSelectedCodeFragment(true);dreamweaver.htmlInspector.col

Strona 129

209DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dreamweaver.htmlInspector.expandSelectedCodeFragments()AvailabilityDreamweaver 8.Descriptio

Strona 130

210DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dom.getShowHiddenCharacters()AvailabilityDreamweaver 8.DescriptionThis function determines

Strona 131

211DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013DescriptionThis function inserts the text specified in the beforeText argument before the c

Strona 132

212DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013DescriptionThis function removes comments. If you specify no arguments, it removes all type

Strona 133

213DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013dreamweaver.htmlInspector.setShowHiddenCharacters()AvailabilityDreamweaver 8.DescriptionThi

Strona 134

214DREAMWEAVER API REFERENCEWorkspaceLast updated 8/27/2013Examplevar panelColorArray = dw.getPanelColor();The return values for this example are:• pa

Strona 135 - Insert object functions

17DREAMWEAVER API REFERENCEThe HTTP APILast updated 8/27/2013• 12: Lock violation• 13: Disk full• 14: End of file reachedExampleThe following code get

Strona 136

215Last updated 8/27/2013Chapter 13: SiteThe Adobe® Dreamweaver® CS5 site functions perform operations related to managing a website. These operations

Strona 137 - Keyboard functions

216DREAMWEAVER API REFERENCESiteLast updated 8/27/2013Site functionsSite functions handle operations that are related to files in the site files. Thes

Strona 138

217DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ReturnsA string, which specifies the site-relative URI.ExampleThe following example returns &quo

Strona 139 - Workspace

218DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ReturnsNothing.ExampleThe following example compares two files, red.htm and blue.htm: dw.compare

Strona 140

219DREAMWEAVER API REFERENCESiteLast updated 8/27/2013DescriptionThis function runs the file compare application specified in the File Compare Categor

Strona 141

220DREAMWEAVER API REFERENCESiteLast updated 8/27/2013dreamweaver.siteSyncDialog.markIgnore()AvailabilityDreamweaver 8.DescriptionThis function change

Strona 142

221DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ReturnsNothing.EnablerSee “dreamweaver.siteSyncDialog.canMarkSynced()” on page 519.dreamweaver.

Strona 143

222DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ArgumentsNone.ReturnsNothing.site.changeLink()AvailabilityDreamweaver 3.DescriptionOpens the Sel

Strona 144 - Menu functions

223DREAMWEAVER API REFERENCESiteLast updated 8/27/2013site.checkLinks()AvailabilityDreamweaver 3.DescriptionOpens the Link Checker dialog box and chec

Strona 145

224DREAMWEAVER API REFERENCESiteLast updated 8/27/2013DescriptionRuns a target browser check on the selected files.ArgumentsNone.ReturnsNothing.site.c

Strona 146 - Results window functions

18DREAMWEAVER API REFERENCEThe HTTP APILast updated 8/27/2013MMHttp.getText()AvailabilityDreamweaver UltraDev 4, enhanced in Dreamweaver MX. Descripti

Strona 147

225DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ReturnsA Boolean value: true if the compare succeeded; false otherwise.EnablerSee “site.canCompa

Strona 148 - DREAMWEAVER API REFERENCE

226DREAMWEAVER API REFERENCESiteLast updated 8/27/2013DescriptionPuts a specified file (or files) in the testing server’s bin folder. If the current s

Strona 149

227DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ReturnsNothing.EnablerSee “site.canDisplaySyncInfoForFile()” on page 522.site.editColumns()Desc

Strona 150

228DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ExampleThe following example shows a sample XML file that Dreamweaver creates when you export a

Strona 151 - A stand-alone results window

229DREAMWEAVER API REFERENCESiteLast updated 8/27/2013servermodel="ColdFusion" urlprefix="http://dreamweaver/kojak/" serverscrip

Strona 152

230DREAMWEAVER API REFERENCESiteLast updated 8/27/2013site.getAppServerAccessType()AvailabilityDreamweaver MX.DescriptionReturns the access method tha

Strona 153

231DREAMWEAVER API REFERENCESiteLast updated 8/27/2013site.getAppURLPrefixForSite()AvailabilityDreamweaver MX.DescriptionGets the value of the URL pre

Strona 154

232DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ArgumentsfileName • The fileName argument is the path to the file being queried, which is expres

Strona 155

233DREAMWEAVER API REFERENCESiteLast updated 8/27/2013site.getCurrentSite()AvailabilityDreamweaver 3.DescriptionGets the current site.ArgumentsNone.Re

Strona 156 - Server debugging

234DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ArgumentsNone.ReturnsThe path to the files residing on the local computer for the current site.s

Strona 157

19DREAMWEAVER API REFERENCEThe HTTP APILast updated 8/27/2013DescriptionPerforms an HTTP post of the specified data to the specified URL. Typically, t

Strona 158 - Toggle functions

235DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ArgumentsfileURL • The fileURL argument is the fully qualified URL (including the string "f

Strona 159

236DREAMWEAVER API REFERENCESiteLast updated 8/27/2013site.getSiteURLPrefix()AvailabilityDreamweaver 8.DescriptionGets the site URL prefix that is ext

Strona 160

237DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ArgumentssiteOrURL • The siteOrURL argument must contain one of the following two values: • The

Strona 161

238DREAMWEAVER API REFERENCESiteLast updated 8/27/2013EnablerSee “site.canMakeEditable()” on page 524.site.makeNewDreamweaverFile()AvailabilityDreamw

Strona 162

239DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ArgumentsNone.ReturnsNothing.site.open()AvailabilityDreamweaver 3.DescriptionOpens the files tha

Strona 163

240DREAMWEAVER API REFERENCESiteLast updated 8/27/2013EnablerSee “site.canPut()” on page 525.site.recreateCache()AvailabilityDreamweaver 3.Descriptio

Strona 164

241DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ArgumentsNone.ReturnsA Boolean value that indicates whether a remote site has been defined and,

Strona 165

242DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ArgumentswhichSide • The whichSide argument must be either "local" or "remote&quo

Strona 166

243DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ReturnsNone.site.setConnectionState()AvailabilityDreamweaver 3.DescriptionSets the connection st

Strona 167

244DREAMWEAVER API REFERENCESiteLast updated 8/27/2013DescriptionGives focus to a specified pane in the Files panel. If the specified pane is not show

Strona 168

20DREAMWEAVER API REFERENCEThe HTTP APILast updated 8/27/2013ArgumentscallbackFunc, URL, dataToPost, {contentType}, {serverScriptsFolder}• The callbac

Strona 169

245DREAMWEAVER API REFERENCESiteLast updated 8/27/2013ExampleThe following example var filePath = site.siteRelativeToLocalPath("/myWebApp/myFile.

Strona 170

246DREAMWEAVER API REFERENCESiteLast updated 8/27/2013site.uncloakAll()AvailabilityDreamweaver MX.DescriptionUncloaks all folders in the current site

Strona 171 - • The collapsed panels

247Last updated 8/27/2013Chapter 14: DocumentThe Document functions in Adobe® Dreamweaver® perform operations that affect the document on which the us

Strona 172

248DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013DescriptionOpens the Convert Tables to Layers dialog box.ArgumentsNone.ReturnsNothing.Enable

Strona 173

249DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ArgumentscommandFile, {commandArg1}, {commandArg2},...{commandArgN} • The commandFile argume

Strona 174

250DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013• The style elements that do not have a type attribute and cannot be fixed• The img elements

Strona 175

251DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ExampleIn normal use, an extension first calls the dreamweaver.openDocument() or dreamweaver

Strona 176

252DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013• You can specify the extensions as .xxx[;.yyy;.zzz] or CCCC:• .xxx specifies the filename e

Strona 177 - Toolbar functions

253DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013dreamweaver.closeDocument()AvailabilityDreamweaver 2.DescriptionCloses the specified documen

Strona 178

254DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013dreamweaver.createXHTMLDocument() AvailabilityDreamweaver MX.DescriptionDepending on the arg

Strona 179

21Last updated 8/27/2013Chapter 4: The Design Notes APIAdobe® Dreamweaver®, Adobe® Fireworks®, and Adobe® Flash® give web designers and developers a w

Strona 180

255DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013dreamweaver.createXMLDocument()AvailabilityDreamweaver MX.DescriptionCreates and opens a new

Strona 181

256DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013dreamweaver.getDocumentDOM()AvailabilityDreamweaver 2.DescriptionProvides access to the obje

Strona 182 - Window functions

257DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013dreamweaver.getNewDocumentDOM()AvailabilityDreamweaver MX; added documentType argument in Dr

Strona 183

258DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013Arguments{filePath} • The filePath argument, which is optional, is a string that specifies t

Strona 184

259DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013dreamweaver.openDocument()AvailabilityDreamweaver 2.DescriptionOpens a document for editing

Strona 185

260DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013dreamweaver.openInFrame()AvailabilityDreamweaver 3.DescriptionOpens the Open In Frame dialog

Strona 186

261DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013DescriptionReverts the specified document to the previously saved version.ArgumentsdocumentO

Strona 187

262DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ArgumentsdocumentObject, {fileURL}• The documentObject argument is the object at the root of

Strona 188

263DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ReturnsNothing.EnablerSee “dreamweaver.canSaveDocumentAsTemplate()” on page 508.dreamweaver

Strona 189

264DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013Global document functionsGlobal document functions act on an entire document. They check spe

Strona 190

22DREAMWEAVER API REFERENCEThe Design Notes APILast updated 8/27/2013ArgumentsfileHandle • The fileHandle argument is the file handle that the MMNotes

Strona 191

265DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ArgumentsNone.ReturnsA string that specifies the current parsing mode: "html", &qu

Strona 192

266DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013• If the controlString argument is "auto-explicit", Dreamweaver prompts the user t

Strona 193 - Information bar functions

267DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013Argumentslocation, message, timeout• The location argument is a string that specifies a tool

Strona 194 - Related files functions

268DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013DescriptionUses the internal Dreamweaver URL decoding mechanism to decode special characters

Strona 195

269DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013• Dreamweaver does not return references for unnamed objects. If an object does not contain

Strona 196

270DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013Argumentssection, key, default_value • The section argument is a string that specifies the p

Strona 197

271DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013dreamweaver.setPreferenceString()AvailabilityDreamweaver MX.Note: To access the preferences

Strona 198

272DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013Path functionsPath functions get and manipulate the paths to various files and folders on a

Strona 199

273DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ArgumentsNone.ReturnsThe path to the application configurations.ExampleThe following functio

Strona 200

274DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ReturnsEither a string that contains the URL of the local root folder of the site where the

Strona 201 - DWFilenameFilter.isEmpty()

23DREAMWEAVER API REFERENCEThe Design Notes APILast updated 8/27/2013MMNotes.getKeyCount()DescriptionThis function gets the number of key/value pairs

Strona 202

275DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ReturnsAn absolute URL string. The return value is generated, as described in the following

Strona 203

276DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ArgumentsNone.ReturnsA Boolean value: true if the URI is relative.DWUri.isDirectory()Availab

Strona 204

277DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013DescriptionDetermines if the URI object has the specified service type scheme. The URI objec

Strona 205 - DWFilenameFilter.empty()

278DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013DWUri.getAuthority()AvailabilityDreamweaver CS5.DescriptionRetrieves the domain authority. T

Strona 206 - Vertical Split view functions

279DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013DWUri.getServerPort()AvailabilityDreamweaver CS5.DescriptionRetrieves the server port. The U

Strona 207

280DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013DWUri.getFragmentAvailabilityDreamweaver CS5.DescriptionRetrieves the URI anchor fragment. T

Strona 208 - Code collapse functions

281DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ReturnsNone.DWUri.setAuthority()AvailabilityDreamweaver CS5.DescriptionSets the domain autho

Strona 209

282DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ArgumentspasswordThe argument specifies the password.ReturnsNone.DWUri.setPath()Availability

Strona 210

283DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013DWUri.setQuery()AvailabilityDreamweaver CS5.DescriptionSets the query string of the URI obje

Strona 211

284DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ReturnsNone.DWUri.getQueryValue()AvailabilityDreamweaver CS5.DescriptionRetrieves the value

Strona 212

24DREAMWEAVER API REFERENCEThe Design Notes APILast updated 8/27/2013ArgumentsfileURL • The fileURL argument, which is expressed as a file:// URL, is

Strona 213

285DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013DescriptionRetrieves the query property object of the URI object.Changes to the property map

Strona 214 - Code view toolbar functions

286DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013The URI to compare against. Specify a valid string or a DWUri object.ReturnsInteger that spe

Strona 215

287DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013DWUri.makeRelative()AvailabilityDreamweaver CS5.DescriptionConstructs a relative URI by find

Strona 216

288DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ReturnsA string that specifies the filename.DWUri.getExtension()AvailabilityDreamweaver CS5.

Strona 217

289DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ArgumentsNone.ReturnsA string that specifies the last path part.DWUri.isUnderDirectory()Avai

Strona 218 - Color functions

290DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ArgumentsA string specifying the local filename that needs to be encoded as a URI.ReturnsNot

Strona 219

291DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013For complex selections (multiple table cells, multiple layers, or multiple image map hotspot

Strona 220 - Chapter 13: Site

292DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ReturnsAn array that contains two integers. The first integer is the character offset of the

Strona 221 - Site functions

293DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013DescriptionPerforms a Select All operation.Note: In most cases, this function selects all th

Strona 222

294DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ArgumentsoffsetBegin, offsetEnd • These arguments are the opening and closing points, respec

Strona 223

iiiLast updated 8/27/2013ContentsChapter 1: IntroductionAbout extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Strona 224

25DREAMWEAVER API REFERENCEThe Design Notes APILast updated 8/27/2013ArgumentsfileURL • The fileURL argument, which is expressed as a file:// URL, is

Strona 225

295DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013 function applyFormatToSelectedTable(){ // get current selection var selObj = dw.getDocu

Strona 226

296DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013dreamweaver.doURLEncoding()AvailabilityDreamweaver 1.DescriptionTakes a string and returns a

Strona 227

297DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013• "my arg 1"• 34dreamweaver.latin1ToNative()AvailabilityDreamweaver 2.DescriptionC

Strona 228 - "document"

298DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013DescriptionScans a string of HTML and finds the tags, attributes, directives, and text. For

Strona 229

299DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013• The parserCallbackObj argument is a JavaScript object that has one or more of the followin

Strona 230

300DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013ReturnsNothing.dreamweaver.editLockedRegions()AvailabilityDreamweaver 2.DescriptionDepending

Strona 231

301DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013DescriptionThis function specifies that the values that dom.nodeToOffsets() and dom.getSelec

Strona 232

302DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013MMXSLT.getXMLSchema()AvailabilityDreamweaver 8.DescriptionThis function returns the schema t

Strona 233

303DREAMWEAVER API REFERENCEDocumentLast updated 8/27/2013 var theXMLSource = MMXSLT.getXMLSourceURI("file:///c:/myxslt/myxsltdocument.xsl")

Strona 234

304Last updated 8/27/2013Chapter 15: Page contentThe Adobe® Dreamweaver® page content functions perform operations that affect the content of a web pa

Strona 235 - • "source_control"

26DREAMWEAVER API REFERENCEThe Design Notes APILast updated 8/27/2013MMNotes.set()DescriptionThis function creates or updates one key/value pair in a

Strona 236

305DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013DescriptionAdds elements that are selected in the Site list to the Favorites list and gi

Strona 237

306DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013DescriptionEdits selected elements with primary external editor or Custom Edit control.

Strona 238

307DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013• The type string, which is either "folder" or one of the following categories

Strona 239

308DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013dreamweaver.assetPalette.locateInSite()AvailabilityDreamweaver 4.DescriptionSelects file

Strona 240

309DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ReturnsNothing.dreamweaver.assetPalette.recreateLibraryFrom Document() AvailabilityDream

Strona 241

310DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ReturnsNothing.dreamweaver.assetPalette.renameNickname()AvailabilityDreamweaver 4.Descri

Strona 242

311DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ArgumentsviewType • The viewType argument is a string that can be "site" or &q

Strona 243

312DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013dom.addBehavior()AvailabilityDreamweaver 3.DescriptionAdds a new event/action pair to th

Strona 244

313DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013dom.reapplyBehaviors()AvailabilityDreamweaver 3.DescriptionChecks to make sure that the

Strona 245

314DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ArgumentsNone.ReturnsA DOM object or a null value. This function returns a null value un

Strona 246

27DREAMWEAVER API REFERENCEThe Design Notes APILast updated 8/27/2013ArgumentsnoteHandle• The noteHandle argument is the file handle that the OpenNote

Strona 247

315DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ExampleIf you write an action that can be applied only to a hypertext link (A HREF), you

Strona 248

316DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013DescriptionGets the event/action pair at the specified position in the Behaviors panel.A

Strona 249

317DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013DescriptionGets the position of the selected action in the Behaviors panel. ArgumentsNon

Strona 250

318DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ExampleCalling the dreamweaver.behaviorInspector.moveBehaviorDown(2) function swaps the

Strona 251

319DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ExampleCalling the dreamweaver.behaviorInspector.moveBehaviorUp(3) function swaps the po

Strona 252 - Chapter 14: Document

320DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ExampleCalling the dreamweaver.behaviorInspector.setSelection(2) function selects the Ch

Strona 253 - Command functions

321DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013dom.clipCopyText()AvailabilityDreamweaver 3.DescriptionCopies the selected text to the C

Strona 254 - File manipulation functions

322DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013EnablerSee “dom.canClipPaste()” on page 493.ExampleIf the Clipboard contains ABC Widget

Strona 255 - Document

323DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ReturnsNothing.EnablerSee “dreamweaver.canClipCut()” on page 503.dreamweaver.clipPaste(

Strona 256

324DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ReturnsA string that contains the contents of the Clipboard, if the Clipboard contains t

Strona 257

28DREAMWEAVER API REFERENCEThe Design Notes APILast updated 8/27/2013 FileHandle noteHandle = OpenNotesFile("file:///c|/sites/avocado8/iwjs/welco

Strona 258

325DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013DescriptionDetaches the selected library item instance from its associated LBI file by r

Strona 259

326DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ArgumentsNone.ReturnsAn array of element nodes.Example“dom.getSelectedEditableRegion()”

Strona 260

327DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ArgumentsNone.ReturnsAn index into the array that the dom.getEditbableRegionList() funct

Strona 261

328DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013EnablerSee “dom.canMarkSelectionAsEditable()” on page 498.dom.newEditableRegion()Availa

Strona 262

329DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013DescriptionUpdates the document’s library items, templates, or both. This function is va

Strona 263

330DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013• Meta• Navigation• TextSnippet files are XML documents, so you can specify the encoding

Strona 264

331DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013dreamweaver.snippetPalette.newFolder()AvailabilityDreamweaver MX.DescriptionCreates a ne

Strona 265

332DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013dreamweaver.snippetPalette.insert()AvailabilityDreamweaver MX.DescriptionApplies the sel

Strona 266

333DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013DescriptionActivates a text box around the selected folder name or file nickname and let

Strona 267

334DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013element.removeTranslatedAttribute()AvailabilityDreamweaver CS3.DescriptionThis function

Strona 268

29DREAMWEAVER API REFERENCEThe Design Notes APILast updated 8/27/2013• The keyBufArray[64] argument is the buffer array where the keys are stored. • T

Strona 269 - Global document functions

335DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013element.translatedClassNameAvailabilityDreamweaver CS3.DescriptionThis function is the s

Strona 270

336DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013Example function objectTag() { . . . var dom = dw.getDocumentDOM(); var id = dwscr

Strona 271

337DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ReturnsAn array of strings that are expressed as file://URLs. Each string represents a f

Strona 272

338DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013Browser compatibility check functionsThe following functions facilitate locating combina

Strona 273

339DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013DescriptionGets the CSS styles that are declared for the specified element. Differs from

Strona 274

340DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ReturnsAn integer representing the minimum display width of the specified container, in

Strona 275

341DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013Example [...] var blocks = DOM.getBlockElements(); var dProps = null, children = null;

Strona 276

342DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013Example [...] var DOM = dw.getDocumentDOM(); var inEls = DOM.body.getInlineElements();

Strona 277 - Path functions

343DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013ArgumentsNone.ReturnsAn array of element nodes. Example [...] var DOM = dw.getDocumentD

Strona 278

344DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013elem.isInlineElement()AvailabilityDreamweaver CS3.DescriptionChecks whether the element

Strona 279

30DREAMWEAVER API REFERENCEThe Design Notes APILast updated 8/27/2013BOOL GetVersionName()DescriptionThis function gets the version name of the MMNote

Strona 280 - DWUri.isRelative()

345DREAMWEAVER API REFERENCEPage contentLast updated 8/27/2013Example [...] var DOM = dw.getDocumentDOM(); var floats = issueUtils.getFloats(DOM.bod

Strona 281 - DWUri.isOfType()

346Last updated 8/27/2013Chapter 16: Dynamic documentsThe dynamic documents functions in Adobe® Dreamweaver® perform operations that are related to we

Strona 282 - DWUri.getScheme()

347DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013ReturnsNothing.Data source functionsData source files are stored in the Configurati

Strona 283 - DWUri.getPassword()

348DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013dw.dbi.setExpanded()AvailabilityDreamweaver CS3.DescriptionSets the node to be expa

Strona 284 - DWUri.getQuery()

349DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013ExampleThe following example retrieves the location attribute value for the insertT

Strona 285 - DWUri.setScheme()

350DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013DescriptionRetrieves the name of the group, which is the equivalent to the server b

Strona 286 - DWUri.setPassword()

351DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013DescriptionReturns the initialization tags for the currently active document. The i

Strona 287 - DWUri.setServerPort()

352DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013• In the URL text field that appears at the top of the document when you click the

Strona 288 - DWUri.setQuery()

353DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013• Returns the HTML response to the caller.Argumentsstring• A single string, which t

Strona 289 - DWUri.getQueryByObject()

354DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013ArgumentsbIsVisible • The bIsVisible argument is a Boolean value that indicates whe

Strona 290 - DWUri.getRelation()

31DREAMWEAVER API REFERENCEThe Design Notes APILast updated 8/27/2013ReturnsA Boolean value: true indicates the operation is successful; false otherwi

Strona 291 - DWUri.makeAbsolute()

355DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013ArgumentsNone.ReturnsNothing.Live view functionsLive view functions are used for th

Strona 292 - DWUri.getFileName()

356DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013ReturnsNone.dom.getLiveViewUsingServer()AvailabilityDreamweaver CS4.DescriptionThis

Strona 293 - DWUri.getLastPathComponent()

357DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013ReturnsA Boolean value. If the default action is to preview a page using a server,

Strona 294 - DWUri.localPathToURI()

358DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013ReturnsNone.dom.setLiveViewFollowsLinks()DescriptionThis function is used to enable

Strona 295 - Selection functions

359DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013ArgumentsNoneReturnsboolA Boolean value that indicates whether the Live view mode i

Strona 296

360DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013ReturnsboolA Boolean value that indicates whether the particular browser command is

Strona 297

361DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013A Boolean value that indicates whether the browser is tracking the pages.dom.browse

Strona 298

362DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013ArgumentsNoneReturnsintAn integer representing the user’s current position in the b

Strona 299

363DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013dom.browser.setHomePage()AvailabilityDreamweaver CS5.DescriptionThis function is us

Strona 300 - String manipulation functions

364DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013DescriptionThis function is used to get the current selection from the browser in L

Strona 301

32DREAMWEAVER API REFERENCEThe Design Notes APILast updated 8/27/2013ReturnsA Boolean value: true indicates the operation is successful; false otherwi

Strona 302 - • "my arg 1"

365DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013DescriptionThis function loads an HTML string directly into the browser control. Th

Strona 303

366DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013At the head of the document, you must have a script that looks like the following:v

Strona 304 - Translation functions

367DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013Dreamweaver 13.1 and laterfunction OnMMBrowserCtrlLoaded(e) { liveViewWindow =

Strona 305

368DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013Example 1Assume that the live view content invokes "GetUserName " and use

Strona 306 - XSLT functions

369DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013Prior to Dreamweaver 13.1DW code: function loadString(str) { return dw.loadStri

Strona 307 - MMXSLT.getXMLSourceURI()

370DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013 var retval; for (i=0;i<gLocNameStrArray.length;i++) { if (

Strona 308

371DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013Dreamweaver 13.1 and laterDW code: liveViewBrowser = document.getElementById('

Strona 309 - Chapter 15: Page content

372DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013dreamweaver.serverBehaviorInspector.getServer Behaviors()AvailabilityDreamweaver Ul

Strona 310

373DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013Server model functionsIn Dreamweaver, each document has an associated document type

Strona 311

374DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013ArgumentsNone.ReturnsAn array of objects where each object contains the following t

Strona 312

33Last updated 8/27/2013Chapter 5: Fireworks integration FWLaunch is a C shared library that lets authors of objects, commands, behaviors, and Propert

Strona 313

375DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013DescriptionReturns the following list of properties, which let you access:• Transla

Strona 314

376DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013dom.serverModel.getServerInfo()AvailabilityDreamweaver MX.DescriptionReturns inform

Strona 315

377DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013ReturnsA string that contains the server name. dom.serverModel.getServerSupportsCha

Strona 316 - Behavior functions

378DREAMWEAVER API REFERENCEDynamic documentsLast updated 8/27/2013dom.serverModel.testAppServer()AvailabilityDreamweaver MX.DescriptionTests whether

Strona 317 - Page content

379Last updated 8/27/2013Chapter 17: DesignThe Design functions in Adobe® Dreamweaver® perform operations related to designing the appearance of a doc

Strona 318

380DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013• “create_and_import" - write CSS in cssFileName and import.• cssFileName is the name of

Strona 319

381DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ArgumentslayoutIndex• layoutIndex is an integer, zero-based index specifying the layout. This

Strona 320

382DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ArgumentselementNode, styleName, {classOrID}, {bForceNesting} • The elementNode argument is an

Strona 321 - • An event handler

383DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ExampleThe following example changes the status of the selected element to "full" if

Strona 322

384DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013 var currentDOM = dw.getDocumentDOM(); if (currentDOM.getShowDivBoxModel() == false){ curren

Strona 323 - More Help topics

34DREAMWEAVER API REFERENCEFireworks integrationLast updated 8/27/2013FWLaunch.execJsInFireworks()AvailabilityDreamweaver 3, Fireworks 3.DescriptionTh

Strona 324

385DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.resetAllElementViews()AvailabilityDreamweaver 8.DescriptionThis function resets the Elemen

Strona 325 - Clipboard functions

386DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ReturnsNothing.ExampleSee “dom.getElementView()” on page 382.dom.setShowDivBackgrounds()Avail

Strona 326

387DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.setShowDivOutlines()AvailabilityDreamweaver 8.DescriptionThis function turns the Layout Bl

Strona 327

388DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ReturnsNone.dreamweaver.cssRuleTracker.editSelectedRule()AvailabilityDreamweaver MX 2004.Descr

Strona 328

389DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013Arguments{pane} • The pane argument, which is optional, is a string that specifies the pane of

Strona 329

390DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ReturnsNothing.EnablerSee “dreamweaver.cssStylePalette.canDeleteSelectedStyle()” on page 511.

Strona 330

391DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ReturnsNothing.EnablerSee “dreamweaver.cssStylePalette.canEditSelectedStyle()” on page 512.dr

Strona 331

392DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dreamweaver.cssStylePalette.getDisplayStyles()AvailabilityDreamweaver 8.DescriptionThis functi

Strona 332

393DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ArgumentsfullSelector • The fullSelector argument is a Boolean value that indicates whether th

Strona 333

394DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013• The bGetFullSelector argument is optional. It is a Boolean value that, if true, returns the

Strona 334 - Snippets panel functions

ivDREAMWEAVER API REFERENCEContentsLast updated 8/27/2013Chapter 10: The source control integration APIHow source control integration with Dreamweaver

Strona 335 - • Navigation

35DREAMWEAVER API REFERENCEFireworks integrationLast updated 8/27/2013• File I/O error, which indicates that Fireworks cannot create a Response file b

Strona 336

395DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013Arguments{pane} • The pane argument, which is optional, is a string that specifies the pane of

Strona 337

396DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ReturnsNothing.Example dw.cssStylePalette.setMediaType("print");dreamweaver.getBlock

Strona 338 - Spry widget editing functions

397DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ReturnsAn array of strings that contains three strings:• color, which is the hexadecimal value

Strona 339

398DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ArgumentsforWhat, color, width, {style} • The forWhat argument, which is required, is a string

Strona 340

399DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013 var currentDOM = dw.getDocumentDOM(); var divColors = currentDOM.getDivBackgroundColors(&quo

Strona 341

400DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dreamweaver.deleteAllDisabled()AvailabilityDreamweaver CS5.DescriptionThis function deletes al

Strona 342

401DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ReturnsA Boolean value: true if the selected style can be disabled.dreamweaver.canDeleteAllDis

Strona 343

402DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013DescriptionGets a list of all the named frames in the frameset.ArgumentsNone.ReturnsAn array o

Strona 344

403DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.splitFrame()AvailabilityDreamweaver 3.DescriptionSplits the selected frame vertically or h

Strona 345

404DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.arrange()AvailabilityDreamweaver 3.DescriptionMoves the selected hotspots in the specified

Strona 346

36DREAMWEAVER API REFERENCEFireworks integrationLast updated 8/27/2013FWLaunch.optimizeInFireworks()AvailabilityDreamweaver 2, Fireworks 2.Description

Strona 347

405DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013Argumentsx, y • The x argument is the number of pixels that the selection must move horizontal

Strona 348

406DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ReturnsNothing.Layout environment functionsLayout environment functions handle operations that

Strona 349

407DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.getTracingImageOpacity()AvailabilityDreamweaver 3.DescriptionGets the opacity setting for

Strona 350

408DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.playPlugin()AvailabilityDreamweaver 3.DescriptionPlays the selected plug-in item.Arguments

Strona 351 - Chapter 16: Dynamic documents

409DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ReturnsNothing.dom.setTracingImagePosition()AvailabilityDreamweaver 3.DescriptionMoves the upp

Strona 352 - Data source functions

410DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.snapTracingImageToSelection()AvailabilityDreamweaver 3.DescriptionAligns the upper-left co

Strona 353

411DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013EnablerSee “dom.canStopPlugin()” on page 501.dreamweaver.arrangeFloatingPalettes()Availabilit

Strona 354

412DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013DescriptionIf the user clicks a menu button in the header of a table in Layout view and causes

Strona 355 - Live data functions

413DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013DescriptionThis function gets the state of the visual aid that forces background coloring for

Strona 356

414DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.getShowBlockIDs()AvailabilityDreamweaver 8.DescriptionThis function gets the state of the

Strona 357 - Dynamic documents

37DREAMWEAVER API REFERENCEFireworks integrationLast updated 8/27/2013ExampleThe following code checks whether Fireworks is installed: if (FWLaunch.va

Strona 358

415DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.setShowBlockBackgrounds()AvailabilityDreamweaver 8.DescriptionThis function turns on and o

Strona 359

416DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013Argumentsallblocks • The allblocks argument, which is required, is a Boolean value. Set the va

Strona 360 - Live view functions

417DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.setShowLayoutView()AvailabilityDreamweaver 4.DescriptionPlaces the current document in Lay

Strona 361

418DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ReturnsA string array.dom.isViewSizeMenuItemChecked()AvailabilityDreamweaver CS5.5.Description

Strona 362

419DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013Media Querydw.mediaQueryListToJSON(strMediaQueryList)AvailabilityDreamweaver CS5.5.Description

Strona 363

420DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013site.setMediaQueryFile()AvailabilityDreamweaver CS5.5.DescriptionSets site-wide media query fi

Strona 364

421DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ExampleThe following example gets the value of the scale of current view. It also zooms in if

Strona 365

422DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013EnablerSee “dreamweaver.canFitSelection()” on page 505.Example if (canFitSeletion()){ fitSel

Strona 366

423DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013EnablerSee “dreamweaver.canZoom()” on page 510.Example if (canZoom()){ zoomIn(); }dreamweav

Strona 367

424DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ArgumentsNone.ReturnsNothing.ExampleThe following example deletes all guides in the document i

Strona 368

38DREAMWEAVER API REFERENCEFireworks integrationLast updated 8/27/2013function checkOneMoreTime() { // Call checkJsResponse() every 1/2 second to see

Strona 369

425DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013Argumentslocation • The location argument is the location of the guide with both the value and

Strona 370 - <mm:browsercontrol>

426DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013Argumentslocation • The location argument is a string that represents the location in the docu

Strona 371

427DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ArgumentsNone.ReturnsNothing.ExampleThe following example makes the distance feedback color of

Strona 372

428DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ReturnsNothing.ExampleThe following example makes guides in the document snap to elements: var

Strona 373 - Example 2

429DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ExampleThe following example deletes all guides in the document if the document has at least o

Strona 374

430DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ReturnsA Boolean value: true if there is a vertical guide at the location; false otherwise.Exa

Strona 375

431DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ArgumentsNone.ReturnsNothing.dom.convertWidthsToPixels()AvailabilityDreamweaver 4.DescriptionT

Strona 376 - Server behavior functions

432DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ArgumentsNone.ReturnsNothing.EnablerSee “dom.canDecreaseRowspan()” on page 495.dom.deleteTabl

Strona 377

433DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.doDeferredTableUpdate()AvailabilityDreamweaver 3.DescriptionIf the Faster Table Editing op

Strona 378 - Server model functions

434DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.increaseColspan()AvailabilityDreamweaver 3.DescriptionThis function increases the column s

Strona 379

39Last updated 8/27/2013Chapter 6: Flash integration Adobe® Dreamweaver® provides support for the Flash Object API, which leverages the Flash Generato

Strona 380 - • File references

435DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013• The bBeforeSelection argument is a Boolean value: true indicates that the columns should be

Strona 381

436DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.removeAllTableHeights()AvailabilityDreamweaver 3.DescriptionThis function removes all HEIG

Strona 382

437DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013dom.selectTable()AvailabilityDreamweaver 3.DescriptionSelects an entire table.ArgumentsNone.Re

Strona 383

438DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ArgumentstdOrTh • The tdOrTh argument must be either "td" or "th".ReturnsN

Strona 384 - Chapter 17: Design

439DREAMWEAVER API REFERENCEDesignLast updated 8/27/2013ArgumentsNone.ReturnsNothing.EnablerSee “dom.canInsertTableColumns()” on page 497 or “dom.can

Strona 385

440Last updated 8/27/2013Chapter 18: CodeThe code functions let you perform operations on a document that appears in Code view. The operations include

Strona 386

441DREAMWEAVER API REFERENCECodeLast updated 8/27/2013• The pattern argument is the pattern attribute for the new menu tag. • The labelArray argument

Strona 387

442DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ReturnsNothing.ExampleIf the user creates a recordset called "myRs", the following cod

Strona 388

443DREAMWEAVER API REFERENCECodeLast updated 8/27/2013• The bClassPattern argument is a Boolean value. If set to true, states that the function belong

Strona 389

444DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ExampleYour JavaScript code might build a Code Hints menu that contains user-defined session var

Strona 390

40DREAMWEAVER API REFERENCEFlash integrationLast updated 8/27/2013• The jpgFileName argument, which is expressed as a file:// URL, is the output filen

Strona 391

445DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dreamweaver.findNext()AvailabilityDreamweaver 3; modified in Dreamweaver MX 2004.DescriptionFind

Strona 392

446DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dreamweaver.replace()AvailabilityDreamweaver 3.DescriptionVerifies that the current selection ma

Strona 393

447DREAMWEAVER API REFERENCECodeLast updated 8/27/2013Note: In a query, certain special characters, such as the backslash character (\), must be escap

Strona 394

448DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dreamweaver.setUpFind()AvailabilityDreamweaver 3.DescriptionPrepares for a text or HTML source s

Strona 395

449DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ArgumentssearchObject The searchObject argument is an object for which the following properties

Strona 396

450DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dreamweaver.showFindReplaceDialog()AvailabilityDreamweaver 3.DescriptionOpens the Replace dialog

Strona 397

451DREAMWEAVER API REFERENCECodeLast updated 8/27/2013DescriptionApplies the FONT tag and the specified attribute and value to the current selection.A

Strona 398

452DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dom.exitBlock()AvailabilityDreamweaver 3.DescriptionExits the current paragraph or heading block

Strona 399

453DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dom.getLineFromOffset()AvailabilityDreamweaver MX.DescriptionFinds the line number of a specific

Strona 400

454DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dom.getListTag()AvailabilityDreamweaver 3.DescriptionGets the style of the selected list.Argumen

Strona 401

41DREAMWEAVER API REFERENCEFlash integrationLast updated 8/27/2013ReturnsAn array that contains two elements that represent the width and the height o

Strona 402

455DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dom.hasCharacterMarkup()AvailabilityDreamweaver 3.DescriptionChecks whether the selection alread

Strona 403

456DREAMWEAVER API REFERENCECodeLast updated 8/27/2013• The bReplaceCurrentSelection argument, which is optional, is a Boolean value that indicates wh

Strona 404

457DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ArgumentscontentToInsert, {bReplaceCurrentSelection} • The contentToInsert argument is the conte

Strona 405

458DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ArgumentsNone.ReturnsNothing.dom.outdent()AvailabilityDreamweaver 3.DescriptionOutdents the sele

Strona 406 - Frame and frameset functions

459DREAMWEAVER API REFERENCECodeLast updated 8/27/2013Argumentsattribute • The attribute argument must be "face", "size", or "

Strona 407 - • "main_content"

460DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dom.setLinkHref()AvailabilityDreamweaver 3.DescriptionMakes the selection a hypertext link or ch

Strona 408

461DREAMWEAVER API REFERENCECodeLast updated 8/27/2013Argumentskind • The kind argument must be either "menu" or "list box".Return

Strona 409

462DREAMWEAVER API REFERENCECodeLast updated 8/27/2013DescriptionSets the ALIGN attribute of the block that contains the selection to the specified va

Strona 410

463DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dom.showFontColorDialog()AvailabilityDreamweaver 3.DescriptionOpens the Color Picker dialog box.

Strona 411 - Layout environment functions

464DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dreamweaver.getFontList()AvailabilityDreamweaver 3.DescriptionGets a list of all the font groups

Strona 412

42DREAMWEAVER API REFERENCEFlash integrationLast updated 8/27/2013 "file:///MyMac/test.swt" // template file used to create this .swf fi

Strona 413

465DREAMWEAVER API REFERENCECodeLast updated 8/27/2013DescriptionDetermines whether the specified modifier key is depressed.Argumentskey • The key arg

Strona 414

466DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ArgumentsfontTypes • The fontTypes argument is a string that contains either the value all, or t

Strona 415

467DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ReturnsA Boolean value: true if the code can print; false otherwise. Example The following examp

Strona 416 - Layout view functions

468DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ReturnsNothing.dom.stripTag()AvailabilityDreamweaver 3.DescriptionRemoves the tag from around th

Strona 417

469DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dreamweaver.showQuickTagEditor()AvailabilityDreamweaver 3.DescriptionDisplays the Quick Tag Edit

Strona 418

470DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dom.formatSelection()AvailabilityDreamweaver MX.DescriptionApplies Dreamweaver automatic syntax

Strona 419

471DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ReturnsAn object with the following properties: • The numError property, which is the number of

Strona 420

472DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dom.setShowNoscript()AvailabilityDreamweaver MX.DescriptionSets the noscript content option on o

Strona 421

473DREAMWEAVER API REFERENCECodeLast updated 8/27/2013Arguments{nTimes}, {bShiftIsDown} • The nTimes argument, which is optional, is the number of cha

Strona 422

474DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ReturnsNothing.dom.source.balanceBracesTextView()AvailabilityDreamweaver 4.DescriptionThis funct

Strona 423

43DREAMWEAVER API REFERENCEFlash integrationLast updated 8/27/2013The following table lists the PanelWindow specifications:ReturnsOne of the following

Strona 424 - Media Query

475DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ArgumentsbShiftIsDown • The bShiftIsDown argument is a Boolean value that indicates whether cont

Strona 425 - Zoom functions

476DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dom.source.getCurrentLines()AvailabilityDreamweaver 4.DescriptionReturns the line numbers for th

Strona 426

477DREAMWEAVER API REFERENCECodeLast updated 8/27/2013DescriptionReturns the text string in the source between the designated offsets.ArgumentsstartOf

Strona 427

478DREAMWEAVER API REFERENCECodeLast updated 8/27/2013 var offset = dw.getDocumentDOM().source.getSelection()[0]; var errors = dw.getDocumentDOM().so

Strona 428

479DREAMWEAVER API REFERENCECodeLast updated 8/27/2013Arguments{nTimes}, {bShiftIsDown} • The nTimes argument, which is optional, is the number of wor

Strona 429

480DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dom.source.pageUp()AvailabilityDreamweaver 4.DescriptionMoves the insertion point up the Code vi

Strona 430

481DREAMWEAVER API REFERENCECodeLast updated 8/27/2013DescriptionReplaces the range of source text between startOffset and endOffset with string. If s

Strona 431

482DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dom.source.scrollLineUp()AvailabilityDreamweaver 4.DescriptionScrolls the Code view up line by l

Strona 432

483DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dom.source.scrollTopFile()AvailabilityDreamweaver 4.DescriptionScrolls the Code view to the top

Strona 433

484DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ReturnsA Boolean value: true if successful; false otherwise.dom.source.startOfDocument()Availabi

Strona 434

44DREAMWEAVER API REFERENCEFlash integrationLast updated 8/27/2013• The code PlugPlugErrorCode_extensionRegistrationFailed indicates that you were una

Strona 435 - Table editing functions

485DREAMWEAVER API REFERENCECodeLast updated 8/27/2013DescriptionMoves the insertion point to the top of the current page or to the top of the previou

Strona 436

486DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ReturnsNothing.Live Code view functionsThe code displayed in Live Code view is similar to what y

Strona 437

487DREAMWEAVER API REFERENCECodeLast updated 8/27/2013Tag editor and tag library functionsYou can use tag editors to insert new tags, edit existing ta

Strona 438

488DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dreamweaver.popupEditTagDialog()AvailabilityDreamweaver MX.DescriptionIf a tag is selected, this

Strona 439

489DREAMWEAVER API REFERENCECodeLast updated 8/27/2013dreamweaver.tagLibrary.getTagLibraryDOM()AvailabilityDreamweaver MX.DescriptionGiven the URL of

Strona 440

490DREAMWEAVER API REFERENCECodeLast updated 8/27/2013ReturnsA string: the name of the tag that is currently selected in the Tag Library editor; retur

Strona 441

491DREAMWEAVER API REFERENCECodeLast updated 8/27/2013 // "fileURL" and "prefix" have been entered by the user. // tell the Tag

Strona 442

492Last updated 8/27/2013Chapter 19: EnablersAdobe® Dreamweaver® CS5 enabler functions determine whether another function can perform a specific opera

Strona 443

493DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dom.canArrange()AvailabilityDreamweaver 3.DescriptionChecks whether Dreamweaver can perform

Strona 444

494DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dom.canClipPasteText()AvailabilityDreamweaver 3.DescriptionChecks whether Dreamweaver can pe

Strona 445 - Chapter 18: Code

vDREAMWEAVER API REFERENCEContentsLast updated 8/27/2013Snippets panel functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Strona 446

45DREAMWEAVER API REFERENCEFlash integrationLast updated 8/27/2013ExamplecontrolData = {}; controlData.defaultGeometry = {topleftx : 100, toplefty :

Strona 447

495DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dom.canDecreaseColspan()AvailabilityDreamweaver 3.DescriptionChecks whether Dreamweaver can

Strona 448

496DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dom.canDeleteTableRow()AvailabilityDreamweaver 3.DescriptionChecks whether Dreamweaver can p

Strona 449 - Find and replace functions

497DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013DescriptionChecks whether Dreamweaver can perform an Increase Colspan operation.ArgumentsNon

Strona 450

498DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013ArgumentsNone.ReturnsA Boolean value: true if the selection is inside a table; false if the

Strona 451

499DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013ReturnsA Boolean value: true if the selection is an adjacent grouping of table cells; false

Strona 452

500DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dom.canSelectTable()AvailabilityDreamweaver 3.DescriptionChecks whether Dreamweaver can perf

Strona 453

501DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dom.canSplitFrame()AvailabilityDreamweaver 3.DescriptionChecks whether Dreamweaver can perfo

Strona 454

502DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dom.canUndo()AvailabilityDreamweaver 3.DescriptionChecks whether Dreamweaver can perform an

Strona 455 - General editing functions

503DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dreamweaver.assetPalette.canInsertOrApply()AvailabilityDreamweaver 4.DescriptionChecks if th

Strona 456

504DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dreamweaver.canClipPaste()AvailabilityDreamweaver 3.DescriptionChecks whether Dreamweaver ca

Strona 457

46DREAMWEAVER API REFERENCEFlash integrationLast updated 8/27/2013• The XML string containing call back function and arguments.The following example i

Strona 458

505DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013Example The following example calls dw.canExportTemplateDataAsXML() to determine whether Dre

Strona 459

506DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013ArgumentsNone.ReturnsA Boolean value: true if the selection or insertion point is within a f

Strona 460

507DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013ArgumentsNone.ReturnsThe name of the currently selected tag or a null value if no tag is sel

Strona 461

508DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013ArgumentsNone.ReturnsA Boolean value that indicates whether one or more unsaved documents ar

Strona 462

509DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013DescriptionChecks whether Dreamweaver can perform a Save Frameset operation on the specified

Strona 463

510DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dreamweaver.canShowFindDialog()AvailabilityDreamweaver 3.DescriptionChecks whether Dreamweav

Strona 464

511DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dreamweaver.cssRuleTracker.canEditSelectedRule()AvailabilityDreamweaver MX 2004.DescriptionC

Strona 465

512DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013DescriptionChecks the current selection to determine whether the selected style can be delet

Strona 466

513DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013Arguments{pane} • The pane argument, which is optional, is a string that specifies the pane

Strona 467

514DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dreamweaver.cssStylePalette.canRenameSelectedStyle()AvailabilityDreamweaver MX.DescriptionCh

Strona 468

47DREAMWEAVER API REFERENCEFlash integrationLast updated 8/27/2013ExampleThe following example is used for setting up the menu:function initializeMenu

Strona 469

515DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013ReturnsA Boolean value: true if Dreamweaver can edit, delete, or duplicate the selection in

Strona 470

516DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dreamweaver.resultsPalette.canPaste()AvailabilityDreamweaver MX.DescriptionChecks whether th

Strona 471 - Print function

517DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dreamweaver.resultsPalette.canSave()AvailabilityDreamweaver MX.DescriptionChecks whether the

Strona 472 - Quick Tag Editor functions

518DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dreamweaver.siteSyncDialog.canMarkDelete()AvailabilityDreamweaver 8.DescriptionThis function

Strona 473

519DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dreamweaver.siteSyncDialog.canMarkPut()AvailabilityDreamweaver 8.DescriptionThis function ch

Strona 474 - Code view functions

520DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013dreamweaver.snippetpalette.canInsert()AvailabilityDreamweaver MX.DescriptionChecks whether y

Strona 475

521DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013ReturnsA Boolean value: true if the following conditions are true; false otherwise:• A remot

Strona 476

522DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013ReturnsA Boolean value: true if Dreamweaver can perform the Cloaking operation on the curren

Strona 477

523DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013• 'site' indicates that the function uses the file selected in the Site panel.Retu

Strona 478

524DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013• A Boolean value. The Boolean value is returned if the first argument is the keyword remote

Strona 479

48DREAMWEAVER API REFERENCEFlash integrationLast updated 8/27/2013ArgumentscontrolID, javascript function call• The controlID argument is the ID of th

Strona 480

525DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013ArgumentsNone.ReturnsA Boolean value: true if any files or folders are selected in the Site

Strona 481

526DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013DescriptionChecks whether Dreamweaver can perform a Refresh [Local | Remote] operation.Argum

Strona 482

527DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013DescriptionDetermines whether Dreamweaver can perform a Synchronize operation.ArgumentsNone.

Strona 483

528DREAMWEAVER API REFERENCEEnablersLast updated 8/27/2013site.canViewAsRoot()AvailabilityDreamweaver 3.DescriptionDetermines whether Dreamweaver can

Strona 484

49DREAMWEAVER API REFERENCEFlash integrationLast updated 8/27/2013function helloWorld(nameStr) { alert('hello ' + nameStr); var appLangua

Strona 485

50Last updated 8/27/2013Chapter 7: Photoshop integrationAdobe® Dreamweaver CS5® facilitates a compact integration with Adobe® Photoshop®. Users can in

Strona 486

51DREAMWEAVER API REFERENCEPhotoshop integrationLast updated 8/27/2013DescriptionThis function re-creates the selected web image based on the current

Strona 487

52DREAMWEAVER API REFERENCEPhotoshop integrationLast updated 8/27/2013ArgumentsAbsolute local URL of the web image.ReturnsPixel width of the original

Strona 488

53DREAMWEAVER API REFERENCEPhotoshop integrationLast updated 8/27/2013ReturnsAbsolute local file path.dreamweaver.canUpdateSmartObjectFromOriginal()Av

Strona 489

54Last updated 8/27/2013Chapter 8: The database API Functions in the database API let you manage database connections and access information that is s

Strona 490

1Last updated 8/27/2013Chapter 1: IntroductionThe Adobe Dreamweaver CS5 API Reference describes the application programming interfaces (APIs). The API

Strona 491 - Live Code view functions

55DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013Database connection functionsDatabase connection functions let you make and manage an

Strona 492

56DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013MMDB.getColdFusionDsnList()AvailabilityDreamweaver UltraDev 4.DescriptionThis functio

Strona 493

57DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013Note: These properties are the standard ones that Dreamweaver implements. Developers

Strona 494

58DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013 ConnectionString="jdbc:inetdae:velcro-qa-5:1433?database=pubs" DriverNam

Strona 495

59DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013MMDB.getDriverName()AvailabilityDreamweaver UltraDev 1.DescriptionThis function gets

Strona 496

60DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013ArgumentsconnName • The connName argument is a connection name that is specified in t

Strona 497 - Chapter 19: Enablers

61DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013DescriptionThis function gets the ODBC DSNs from the site server. The getRDSUserName(

Strona 498

62DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013ArgumentsconnName • The connName argument is a connection name that is specified in t

Strona 499

63DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013MMDB.needToRefreshColdFusionDsnList()AvailabilityDreamweaver MX.DescriptionThis funct

Strona 500

64DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013MMDB.setRDSPassword()AvailabilityDreamweaver UltraDev 4.DescriptionThis function sets

Strona 501

2DREAMWEAVER API REFERENCEIntroductionLast updated 8/27/2013New functions in Dreamweaver CS5The following new functions are added to the Dreamweaver C

Strona 502

65DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013MMDB.showConnectionMgrDialog()AvailabilityDreamweaver UltraDev 1.DescriptionThis func

Strona 503

66DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013MMDB.showRestrictDialog()AvailabilityDreamweaver UltraDev 4.DescriptionThis function

Strona 504

67DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013Database access functionsDatabase access functions let you query a database. In acces

Strona 505

68DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013 columnArray[0] = "EmpName" columnArray[1] = "varchar" columnAr

Strona 506

69DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013ReturnsAn array of objects, one object for each column. Each object defines the follo

Strona 507

70DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013 ["EmpID", "FirstName", "LastName"]MMDB.getPrimaryKeys(

Strona 508

71DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013Note: Dreamweaver connects to and gets all the tables in the database whenever you mo

Strona 509

72DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013ArgumentsconnName, statement, paramValuesArray • The connName argument is a connectio

Strona 510

73DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013ReturnsAn array of strings that represents the list of columns. This function returns

Strona 511

74DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013ExampleThe following example retrieves the parameter objects for the specified proced

Strona 512

3DREAMWEAVER API REFERENCEIntroductionLast updated 8/27/2013“document.getRelatedFiles()” on page 193“document.addRelatedFile()” on page 194“document

Strona 513

75DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013ArgumentsconnName • The connName argument is a connection name that is specified in t

Strona 514

76DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013 var viewObjects = MMDB.getViews(CONN_LIST.getValue()) for (i = 0; i < viewObject

Strona 515

77DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013DescriptionThis function displays a dialog box that contains the results of executing

Strona 516

78DREAMWEAVER API REFERENCEThe database APILast updated 8/27/2013ReturnsThis function returns an error if the SQL statement or the connection string i

Strona 517

79Last updated 8/27/2013Chapter 9: The database connectivity API As a developer, you can create new connection types and corresponding dialog boxes fo

Strona 518

80DREAMWEAVER API REFERENCEThe database connectivity APILast updated 8/27/2013 function getServerModelFolderName() { return "ASP_JS"; }Yo

Strona 519

81DREAMWEAVER API REFERENCEThe database connectivity APILast updated 8/27/2013The applyConnection() function returns an HTML source within an include

Strona 520

82DREAMWEAVER API REFERENCEThe database connectivity APILast updated 8/27/2013If a connection is not found in htmlSource, a null value returns. Note:

Strona 521

83DREAMWEAVER API REFERENCEThe database connectivity APILast updated 8/27/2013applyConnection()AvailabilityDreamweaver UltraDev 4.DescriptionDreamweav

Strona 522

84DREAMWEAVER API REFERENCEThe database connectivity APILast updated 8/27/2013 <!--#include file="../Connections/MyConnection1.asp"-->

Strona 523

4DREAMWEAVER API REFERENCEIntroductionLast updated 8/27/2013• Function names that have the prefix dreamweaver.funcname can be abbreviated to dw.funcna

Strona 524

85DREAMWEAVER API REFERENCEThe database connectivity APILast updated 8/27/2013Note: If you change the format of your include file or define an include

Strona 525

86Last updated 8/27/2013Chapter 10: The source control integration APIThe source control integration API lets you write shared libraries. These APIs e

Strona 526

87DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013Adding source control system functionalityYou can add source contro

Strona 527

88DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013Argumentsvoid **connectionData, const char siteName[64]• The connec

Strona 528

89DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013ReturnsAn integer that indicates the length of the name of the root

Strona 529

90DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013• The remotePath argument is the path of the remote folder that the

Strona 530

91DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013Argumentsvoid *connectionData, const char *localPathList[], const c

Strona 531

92DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013bool SCS_Rename()DescriptionThis function renames or moves a file o

Strona 532

93DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013bool SCS_GetConnectionInfo()DescriptionThis function displays a dia

Strona 533

94DREAMWEAVER API REFERENCEThe source control integration APILast updated 8/27/2013int SCS_GetNumNewFeatures()DescriptionThis function returns the num

Komentarze do niniejszej Instrukcji

Brak uwag