.faq .two-cols .rt { width:auto; }
.faq .two-cols .lt { width:auto; }
dl.alt-style { width:auto; }
+
+
+.fixed { position:static; top:auto; bottom:auto;}
\ No newline at end of file
.videosection-2 .content { margin-top:5px; }
.videosection-2 h2 + .content { margin-top:0; }
+/* css for fixed faq/userguide side nav */
.fixed { position:fixed; top:30px;}
-.fixedbottom { top:auto; bottom:200px;}
\ No newline at end of file
+.fixedbottom { top:auto; bottom:200px;}
+@media screen and (max-height : 370px) {
+ .fixed { position:static; }
+
+}
\ No newline at end of file
});\r
\r
// fix for recaptcha fields\r
- $('#okeanos_recaptcha').parents('.form-row').find('.extra-img').hide(); \r
+ $('#okeanos_recaptcha').parents('.form-row').find('.extra-img').hide();\r
\r
+ fixEl = $('.details .lt');\r
+ window.fixEloffsetTop = fixEl.offset().top;\r
+ \r
});\r
\r
$(window).resize(function() {\r
setContainerMinHeight('.container .wrapper');\r
\r
\r
+});\r
+\r
+\r
+/* js for fixed faq/userguide side nav */\r
+$(window).scroll(function () {\r
+\r
+ if ( $('.details .lt').height() < $('.details .rt').height() ) {\r
+ if ($(window).scrollTop() > window.fixEloffsetTop){ \r
+ fixEl.addClass('fixed');\r
+ } else {\r
+ fixEl.removeClass('fixed');\r
+ }\r
+ }\r
+\r
+\r
+\r
});
\ No newline at end of file