se controllassi la console capiresti di aver incollato a caso!
e se postassi codice formattato salterebbe pure piu' facilmente all' occhio
codice:
jQuery(function( $ ){
var $sections = $('#navigation a'),// Links on the left
last = null;// Last section
$sections.click(function(){
if( last != this ){ // let's avoid needless requests
var url = 'html/' + this.hash.slice(1) + '.html';
$('#content').html( '<p class="loading">Loading...</p>' )
.load( url, function(){
$(this).hide().fadeIn('slow');
this.scrollLeft = 0;//scroll back to the left
})
}
last = this;
this.blur(); // Remove the awful outline
return false;
});
$sections.eq(0).click(); // Load the first section
});