The code i've got is as follows, i know it's more difficult but i haven't got a live example, i'll try and get one up though for now if i can.
$(document).ready(function() {
function showNewContent() {
$("div.span-15").slideDown();
$('#load').fadeOut();
}
function pageload(hash) {
if(hash) {
$("div.span-15").load(hash + " div.span-15",'',function(){
if($('img:last',this).get(0)) {
$('img:last',this).load(function(){
showNewContent();
});
} else {
showNewContent();
}
});
} else {
$("div.span-15").load("index.html div.span-15");
}
}
$.historyInit(pageload);
$('ul.service-nav li a').click(function(){
var hash = $(this).attr('href');
hash = hash.replace(/^.*#/, '');
$("div.span-15").slideUp(300,function(){
$.historyLoad(hash);
});
if(!$('#load').get(0)) {
$('#wrapper').append('<img src="/images/global/loading.gif" class="loading center" />');
}
$('#load').fadeIn('normal');
return false;
});
});anyone got any idea's why this is occurring? 'cus i'm just stumped
Help

















