WebSite Class

Used to wrap the content in a carousel control.

Constructors

WebSite( content, config )

Config Options

sidebar
minContentHeight
Minimul height of a panel
padding
Padding between panels in the carousel. This should not exceed the content padding defined in the CSS.
animationSteps
Time to transition between panels, in milliseconds. Only applicable when "animate" is set to true.
fx
An instance of a javaxt.dhtml.Effects class used to animate transitions. Only used when "animate" is set to true.

Events

beforeResize( )
onResize( )

Public Methods

enablePopstateListener( )
disablePopstateListener( )
setContentHeight( h )
updateLinks( links )
updateLink( url, path, dir )
This method is called while parsing links in an HTML document. Returns true if the given URL should be loaded dynamically as content (default). Otherwise the link will be left as is.
updateTabs( path )
updateNav( path )
Used to update the navbar (aka breadcrumbs)
updateSidebar( path )