yeah, the numbers just help Gantry keep track of what it's loading/being loaded
Do you have any errors in Console related to your script? From your browser > Tools > More Tools > Developer Tools > Console
I'm not a JS dev by any stretch of the imagination... a hack at best... but you may need to wrap that in a function, like:
(function($) {
$(window).bind('scroll', function () {
if ($(window).scrollTop() > 50) {
$('#g-navigation').addClass('fixed');
} else {
$('#g-navigation').removeClass('fixed');
}
});
})(jQuery);
Wherever you got that code... what jQuery library do they recommend? Is at least some version of jQuery being loaded on your page, in your <head>?