aqui el codigo
Código Javascript :
<script type="text/javascript">
$('a[href*="#"]:not([href="#"])').click(function() {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
if (target.length) {
$('html, body').animate({
scrollTop: target.offset().top
}, 1000);
return false;
}
}
});
</script>
No se si esta chocando con este codigo del menu fixed
Código Javascript :
<script type="text/javascript">
var _rys = jQuery.noConflict();
_rys("document").ready(function(){
_rys(window).scroll(function () {
if (_rys(this).scrollTop() > 498) {
_rys('.nav-container-2').addClass("f-nav");
} else {
_rys('.nav-container-2').removeClass("f-nav");
}
});
});
</script>
Si necesitan verlo como funciona aqui el link
Gracias de antemano por su ayuda
