This is the simple Jquery code:
$(document).ready(function() {
var activeIndex = $('#bmenul > li.totalactive').index();
$('#bluenzbarimg').css({
'marginLeft': (180 * activeIndex) + 'px'
}).show();
$('#bmenul > li').not('.totalactive').hover(function() {
var index = $(this).index();
$('#bluenzbarimg').stop().animate({
'marginLeft': (180 * index) + 'px'
}, 400);
}, function() {
$('#bluenzbarimg').stop().animate({
'marginLeft': (180 * activeIndex) + 'px'
}, 400);
});
});
This is the fiddle with almost exactly the same code than the website (except some css) and here the website.
I am guessing because
does not have the affix method, and therefor the rest of your javascript fails to load..
Either, you are missing a javascript include, or you just need to remove that call!