http://theluxurytravelexpert.com – Webgains// // <![CDATA[
// sticky navigation bar – seperated from menu as sticky bit not everywhere applies
$(document).ready(function() {
// Fixed menu
$(‘.menu’).scrollspy({
min: $(‘.menu’).offset().top,
onEnter: function(element, position) {
$(“.menu”).addClass(‘fixed’);
},
onLeave: function(element, position) {
if (position.top
- 5jblbfdc.html
Be the first to comment