Javascript must be activated for this page!
NOTE: This page is from an older version, see the latest version
here .
A scroll-able area - automatically scroll children layer/plugin elements withhin a (maskchildren=true) parent layer/plugin element.
The scrollarea plugin need to have a defined size and aligment and can be used only as children element inside an other layer/plugin element.
Withhin this parent layer/plugin element, it is possible to scroll the scrollarea plugin by dragging the children elements of it.
The scroll dragging, friction and bounding is designed to behave like in native iOS scrolling elements by default.
Attribute nameType Default value
direction String "all"
Set the allowed scrolling directions.
Possible settings:
all = allow scrolling in all directions
h = only horizontal scrolling
v = only vertical scrolling.
Attribute nameType Default value
draggable Boolean true
Should the scroll-area be draggable / allow dragging control.
Attribute nameType Default value
mwheel Boolean true
Mouse-Wheel support / scroll by using the Mouse-Wheel.
Attribute nameType Default value
onhover_autoscrolling Boolean false
Automatic scrolling when the mouse hovers the area.
The scrolling will be proportionally relative to the mouse position.
This setting has no effect on touch usage.
Attribute nameType Default value
overscroll
friction
acceleration
returnacceleration
momentum
Number Number Number Number Number 1.00 0.95 0.08 0.15 0.06
Settings for customizing / fine-tuning the movement behavior.
overscroll - The amount of overscrolling (0.0 = no overscroll, 1.0 = full overscroll).
friction - The movement friction.
acceleration - The movement acceleration.
returnacceleration - The returning (from overscrolled) acceleration.
momentum - The momentum acceleration.
Attribute nameType Default value
loverflow
roverflow
toverflow
boverflow
woverflow
hoverflow
Number Number Number Number Number Number
loverflow = left overflow
roverflow = right overflow
toverflow = top overflow
boverflow = bottom overflow
woverflow = total width overflow
hoverflow = total height overflow
The number of pixels that are currenlty outside the viewing area.
Positive values indicate outside and negative values inside.
Attribute nameType Default value
onscroll String
This event will be called when the scroll-area has been scrolled.
Action name
setcenter(x,y)
Center the plugin at the given children x/y position.
Action name
scrolltocenter(x,y)
Scroll the plugin to center itself at the given children x/y position.
Action name
scrollby(dx,dy)
Applies/adds the given delta x/y values to the scrolling velocity vector.
Action name
stopscrolling()
Stop all current scrollings.
Scrolling Thumbnails (xml:
scrollingthumbnails.xml )
CLICK TO VIEW THE EXAMPLE (with html5=auto)
CLICK TO VIEW THE EXAMPLE (with html5=prefer)
Scrolling Thumbnails with Scroll-Buttons (xml:
scrollingthumbnails2.xml )
CLICK TO VIEW THE EXAMPLE (with html5=auto)
CLICK TO VIEW THE EXAMPLE (with html5=prefer)
Scrolling Map (xml:
scrollingmap.xml )
CLICK TO VIEW THE EXAMPLE (with html5=auto)
CLICK TO VIEW THE EXAMPLE (with html5=prefer)
Examples Notes:
In these examples only preview panos were used, that means that 'blurred' panos are normal in this case.
Both examples are also included in the viewer download package.