< Day Day Up > |
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. dom.arrowDown()Availability Dreamweaver 3. Description Moves the insertion point down the specified number of times. Arguments {nTimes}, {bShiftIsDown}
Returns Nothing. dom.arrowLeft()Availability Dreamweaver 3. Description Moves the insertion point to the left the specified number of times. Arguments {nTimes}, {bShiftIsDown}
Returns Nothing. dom.arrowRight()Availability Dreamweaver 3. Description Moves the insertion point to the right the specified number of times. Arguments {nTimes}, {bShiftIsDown}
Returns Nothing. dom.arrowUp()Availability Dreamweaver 3. Description This function moves the insertion point up the specified number of times. Arguments {nTimes}, {bShiftIsDown}
Returns Nothing. dom.backspaceKey()Availability Dreamweaver 3. Description This function is equivalent to pressing the Backspace key a specified number of times. The exact behavior depends on whether there is a current selection or only an insertion point. Arguments {nTimes}
Returns Nothing. dom.deleteKey()Availability Dreamweaver 3. Description This function is equivalent to pressing the Delete key the specified number of times. The exact behavior depends on whether there is a current selection or only an insertion point. Arguments {nTimes}
Returns Nothing. dom.endOfDocument()Availability Dreamweaver 3. Description Moves the insertion point to the end of the document (that is, after the last visible content in the Document window or after the closing HTML tag in the Code inspector, depending on which window has focus). Arguments {bShiftIsDown}
Returns Nothing. dom.endOfLine()Availability Dreamweaver 3. Description Moves the insertion point to the end of the line. Arguments {bShiftIsDown}
Returns Nothing. dom.nextParagraph()Availability Dreamweaver 3. Description Moves the insertion point to the beginning of the next paragraph or skips multiple paragraphs if nTimes is greater than 1. Arguments {nTimes}, {bShiftIsDown}
Returns Nothing. dom.nextWord()Availability Dreamweaver 3. Description Moves the insertion point to the beginning of the next word or skips multiple words if nTimes is greater than 1. Arguments {nTimes}, {bShiftIsDown}
Returns Nothing. dom.pageDown()Availability Dreamweaver 3. Description Moves the insertion point down one page (equivalent to pressing the Page Down key). Arguments {nTimes}, {bShiftIsDown}
Returns Nothing. dom.pageUp()Availability Dreamweaver 3. Description Moves the insertion point up one page (equivalent to pressing the Page Up key). Arguments {nTimes}, {bShiftIsDown}
Returns Nothing. dom.previousParagraph()Availability Dreamweaver 3. Description Moves the insertion point to the beginning of the previous paragraph or skips multiple paragraphs if nTimes is greater than 1. Arguments {nTimes}, {bShiftIsDown}
Returns Nothing. dom.previousWord()Availability Dreamweaver 3. Description Moves the insertion point to the beginning of the previous word or skips multiple words if nTimes is greater than 1. Arguments {nTimes}, {bShiftIsDown}
Returns Nothing. dom.startOfDocument()Availability Dreamweaver 3. Description Moves the insertion point to the beginning of the document (that is, before the first visible content in the Document window, or before the opening HTML tag in the Code inspector, depending on which window has focus). Arguments {bShiftIsDown}
Returns Nothing. dom.startOfLine()Availability Dreamweaver 3. Description Moves the insertion point to the beginning of the line. Arguments {bShiftIsDown}
Returns Nothing. dreamweaver.mapKeyCodeToChar()Availability Dreamweaver 4. Description Takes a key code as retrieved from the event object's keyCode field and translates it to a character. You should check whether the key code is a special key, such as HOME, PGUP, and so on. If the key code is not a special key, this method can be used to translate it to a character code that is suitable for display to the user. Arguments keyCode
Returns Nothing. |
< Day Day Up > |