diff --git a/docs/index.html b/docs/index.html
index ba269e6fa..153b24c66 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -384,7 +384,7 @@
Save sort widget (v2.0.27)
Scroller widget (v2.9).
Sticky header widget (v2.0.21.1; v2.14.4)
- css3 sticky header widget (v2.14.2; v2.14.4).
+ Sticky header (css3) widget (v2.14.2; v2.14.6).
UITheme widget:
- jQuery UI theme (v2.0.9; v2.13.3)
diff --git a/js/widgets/widget-cssStickyHeaders.js b/js/widgets/widget-cssStickyHeaders.js
index 510c53076..3d518774b 100644
--- a/js/widgets/widget-cssStickyHeaders.js
+++ b/js/widgets/widget-cssStickyHeaders.js
@@ -1,4 +1,4 @@
-/*! tablesorter CSS Sticky Headers widget - updated 12/14/2013 (v2.14.4)
+/*! tablesorter CSS Sticky Headers widget - updated 12/17/2013 (v2.14.6)
* Requires a modern browser, tablesorter v2.8+
*/
/*global jQuery: false, unused:false */
@@ -11,7 +11,8 @@
options: {
cssStickyHeaders_offset : 0,
cssStickyHeaders_addCaption : false,
- cssStickyHeaders_attachTo : null
+ cssStickyHeaders_attachTo : null,
+ cssStickyHeaders_zIndex : 10
},
init : function(table, thisWidget, c, wo) {
var $attach = $(wo.cssStickyHeaders_attachTo),
@@ -35,9 +36,11 @@
$cells = $cells.add($caption);
}
$cells.css({
- "transform": finalY === 0 ? "" : "translate(0px," + finalY + "px)",
- "-ms-transform": finalY === 0 ? "" : "translate(0px," + finalY + "px)",
- "-webkit-transform": finalY === 0 ? "" : "translate(0px," + finalY + "px)"
+ "position" : "relative",
+ "z-index" : wo.cssStickyHeaders_zIndex,
+ "transform" : finalY === 0 ? "" : "translate(0px," + finalY + "px)",
+ "-ms-transform" : finalY === 0 ? "" : "translate(0px," + finalY + "px)",
+ "-webkit-transform" : finalY === 0 ? "" : "translate(0px," + finalY + "px)"
});
});
},
@@ -47,7 +50,9 @@
c.$table
.unbind('update updateAll '.split(' ').join(namespace + ' '))
.children('thead, caption').css({
- "transform": "",
+ "position" : "",
+ "z-index" : "",
+ "transform" : "",
"-ms-transform" : "",
"-webkit-transform" : ""
});