From 778f3a3df7b2ff98fc698f75c6c804e708bea93a Mon Sep 17 00:00:00 2001 From: fat Date: Thu, 25 Jul 2013 23:57:21 -0700 Subject: [PATCH] update docs a bit more for affix --- javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript.html b/javascript.html index 53bd00cd94..0259108d71 100644 --- a/javascript.html +++ b/javascript.html @@ -1767,7 +1767,7 @@ $('#myCarousel').on('slide.bs.carousel', function () { offset number | function | object 10 - Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and left directions. To listen for a single direction, or multiple unique offsets, just provide an object offset: { top: 10 }. Use a function when you need to dynamically provide an offset (useful for some responsive designs). + Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and left directions. To provide a unique, bottom and top offset just provide an object offset: { top: 10 } or offset: { top: 10, bottom: 5 }. Use a function when you need to dynamically calculate an offset.