Check documentation for the
latest version of dhtmlxSuite
setOffset DHTMLX Docs
Samples
Forum
Support
Documentation
/
Suite 5.X
addCell
attachEvent
attachFooter
attachHeader
attachMenu
attachRibbon
attachStatusBar
attachToolbar
cells
detachEvent
detachFooter
detachHeader
detachMenu
detachRibbon
detachStatusBar
detachToolbar
enableHotKeys
forEachCell
getActiveCell
getActiveId
getActiveIndex
getAttachedMenu
getAttachedRibbon
getAttachedStatusBar
getAttachedToolbar
goFirst
goLast
goNext
goPrev
hideControls
hideMenu
hideRibbon
hideStatusBar
hideToolbar
progressOff
progressOn
setCellSize
setOffset
setOffsets
setSizes
showControls
showMenu
showRibbon
showStatusBar
showToolbar
unload
Start
Carousel
dhtmlXCarousel API
Methods
setOffset
sets cell offsets withing visible area
void
setOffset
(
number
left
,
number
top
,
number
item
);
left
number
offset from left and right sides
top
number
offset from top and bottom sides
item
number
offset to the next cell
Example
myCarousel.
setOffset
(
15
,
10
,
45
)
;
Back to top