The setScrollType allow to choose between 2 types of scroll: The 'scroll' one (common scroll with scroll bars) and the 'push' type (bars on top and botton of the DFrame). Available for all browsers
The setScrollTheme allow to choose between different themes of scroll. Only available for NS4
DFrameStyle.setScrollType(stringType)
DFrameStyle.setScrollTheme(stringTheme)
stringType
setScrollType method. String (not case sensitive). 'SCROLL' for a scroll type, 'PUSH' for push bars.
stringTheme
NS4 only
setScrollTheme method. String (not case sensitive). This string must indicate the name of the directory containing the images of the theme. The name of the directory is set withous any path
Available: 'MAC', 'NEXTSTEP', 'METAL' and 'WINDOWS'
New styles can be defined with the creation of a new folder in dFrame\dFrame\images\scrollpane\ and the following images inside:
scrollbar-vbg.gif background image for vertical bar
scrollbar-vknob.gif vertical knob
scrollbar-hbg.gif background image for horizontal bar
scrollbar-hknob.gif horizontal knob
scrollbar-upOff.gif top button of vertical bar
scrollbar-upOn.gif top button of vertical bar, mouseOn
scrollbar-dnOff.gif bottom button of vertical bar
scrollbar-dnOn.gif bottom button of vertical bar, mouseOn
scrollbar-ltOff.gif left button of horizontal bar
scrollbar-ltOn.gif left button of horizontal bar, mouseOn
scrollbar-rtOff.gif right button of horizontal bar
scrollbar-rtOn.gif right button of horizontal bar, mouseOn
scrollbar-corner.gif right-bottom corner
Windows are made with <IFRAME> tags for IE and NS6 and thus appearances of scroll bars and knobs cannot be changed by developpers.
For NS4 scroll is managed by dFrameAPI and developpers can choose the appearance of scroll bars they want.