Skip to main content

What is It?

The jpageConfig object is a crucial part of configuring your JPage website. It allows you to customize the JPage components, ensuring they fit your specific needs. Below is a detailed overview of the available options you can set within this object.

Configuration Options

ComponentOptionDescriptionDefault Value
ScrollershowControlsDisplays navigation controls if truetrue
waitingTimeTime to wait before scrolling (in milliseconds)400
durationDuration of the scroll animation (in milliseconds)700
progressShow progress bartrue
progressColorProgress bar color#f00
timingFunctionShow progress bartrue
SlidershowControlsScrolling timingFunctionlinear

How to Use jpageConfig

To apply your configuration, you must include the jpageConfig object in your JavaScript code after including the JPage library. This allows JPage to initialize with your specified settings.