Using JavaScript in HomeSite 4.0, Part II: The ActiveDocument Object's Methods, Part IV | WebReference

Using JavaScript in HomeSite 4.0, Part II: The ActiveDocument Object's Methods, Part IV


Using JavaScript in HomeSite 4.0, Part II

The ActiveDocument Object's Methods, Part IV

The following methods move the cursor to many different positions. The names of the methods reveals the relevant cursor movement. If the extendSelectionFlag parameter is true, the selection will be extended to the new cursor position.

CursorLeft(extendSelectionFlag)None
CursorRight(extendSelectionFlag)None
CursorWordLeft(extendSelectionFlag)None
CursorWordRight(extendSelectionFlag)None
CursorDown(extendSelectionFlag)None
CursorUp(extendSelectionFlag)None
CursorPageDown(extendSelectionFlag)None
CursorPageUp(extendSelectionFlag)None
CursorDocStart(extendSelectionFlag)None
CursorDocEnd(extendSelectionFlag)None
CursorLineStart(extendSelectionFlag)None
CursorLineEnd(extendSelectionFlag)None

http://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran

Created: September 27, 1999
Revised: September 27, 1999

URL: http://www.webreference.com/js/column49/activemet4.html