Mouse Actions
The HTML 4 pilot supports the following mouse actions in the rendering panel.
Document Navigation
| Action |
Result |
| Click content with left mouse button. |
Sets focus on the viewport containing the content. |
| Click anchor with left mouse button |
Navigates to anchor href location. |
| Click and hold the right mouse button, and drag the mouse. |
Scrolls content in direction of movement. You can change the button or disable this feature with the ice.pilots.html4.scrollButton system property. |
Content Selection
| Action |
Result |
| Hold the left mouse button and drag over the document content. Release the mouse button to stop selecting content. |
- Content is selected as you drag the mouse.
- If you drag off the viewport, the document scrolls in that direction.
- The scroll rate increases the further away the pointer is from the edge of the viewport.
|
You can alter the mouse selection behavior with system property settings:
| Behavior |
Property and Description |
| Selection of content |
ice.pilots.html4.enableTextSelection You can set this property to false to prevent the selection of any content. |
| Scroll rate |
ice.pilots.html4.scrollTimeout This property effectively sets the speed of scrolling. The default is 30 milliseconds between scroll steps. If your deployment platform cannot support a rapid scroll rate, you can increase the value. Try increasing the value in 30 millisecond increments. |
| Scroll height |
ice.pilots.html4.scrollHeight By setting this value, you override the dynamic scroll height feature and instead scroll the document the specified number of pixels in each scroll step. This property is retained for backwards compatibility, but is not recommended for use. |
| Mouse button used for selection |
ice.pilots.html4.selectButton You can use this property to change the default content selection button from left to right. |
Drag and Drop
Dragging content and dropping it (by releasing the mouse button) to a target is also supported. You can:
- Drag and drop selected text onto another editable control or application.
- Drag and drop an anchor. This copies the href value of the anchor into the target control or application. For example, if you drag and drop a link from ICEreader into Mozilla, Mozilla will render the content.
- Drag selected text from FormInputText and FormInputTextArea controls, and drop text into these controls (if they are enabled).
Note: This section is applicable only if you have licensed the optional Flash module.