Hi everyone,

I am working on a site, just one page with all the information on it. What happens now is when I scroll down the page, and I get past the navbar, it gets fixed to the top like I want. Its all working fine, but my question is, I have a table just below and when I scroll down, I want the links from the table to go into the nav bar using (hopefully) jquery to append the links to the nav and then have them highlight(scrollspy) as I get to the content that I am on. Here is a link to the site.. I havn't tried anything yet, I am looking for advise on how(if) this is possible!

Thanks

I solved this. THis is what i did:

$(document).ready(function() {
    $('.bottomMenu').fadeOut();

$(window).scroll(function () { 
    if ($(window).scrollTop() > 200) {
      $('#nav_bar').addClass('navbar-fixed-top');
      $('.bottomMenu').fadeIn();
    }

if ($(window).scrollTop() < 201) {
      $('#nav_bar').removeClass('navbar-fixed-top');
      $('.bottomMenu').fadeOut();
    }
  });
});

Works great!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.