Adobe 38040334 API Reference - Page 431
dom.source.replaceRange, dom.source.scrollEndFile, dom.source.scrollLineDown
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 431 highlights
DREAMWEAVER CS3 426 API Reference Returns Nothing. dom.source.replaceRange() Availability Dreamweaver 4. Description Replaces the range of source text between startOffset and endOffset with string. If startOffset is greater than endOffset or if either offset is not a positive integer, it does nothing and returns false. If endOffset is greater than the number of characters in the file, it replaces the range between startOffset and the end of the file. If both startOffset and endOffset are greater than the number of characters in the file, it inserts the text at the end of the file. Arguments startOffset, endOffset, string • The startOffset argument is the offset that indicates the beginning of the block to replace. • The endOffset argument is the offset that indicates the end of the block to replace. • The string argument is the string to insert. Returns A Boolean value: true if successful; false otherwise. dom.source.scrollEndFile() Availability Dreamweaver 4. Description Scrolls the Code view to the bottom of the document file without moving the insertion point. Arguments None. Returns Nothing. dom.source.scrollLineDown() Availability Dreamweaver 4. Description Scrolls the Code view down line by line without moving the insertion point.