load content works in IE but not in firefox
with the folowing code i load over the funktion golabel the content in a div.
so fare it works in IE fine. why does it nork in firefox?
- function golabel(url,label,hoehe) {
if (movieIsLoaded(thisMovie(movieName))) {
thisMovie(movieName).TGotoLabel("_level0/",label);
$('div#header').height(hoehe);
$('div#flashslide').height(hoehe);}
//obmain = document.getElementById('nav');
pageTracker._trackPageview('url');
var toLoad = url;
$('#content').hide('fast',loadContent);
$('#load').remove();
$('#wrap').append('<span id="load">LOADING...</span>');
$('#load').fadeIn('normal');
//window.location.hash = $(this).attr('href').substr(0,$(this).attr('href').length-5);
function loadContent() {
$('#content').load(toLoad,'',showNewContent)
}
function showNewContent() {
$("a.box").fancybox({ //lightbox erneut einrichten beim erneuten laden
'speedIn':600,
'speedOut':200,
'type':'iframe',
'autoDimensions': false,
'width':750,
'height' : 'auto'
});
$("a.skizzen").fancybox({ //lightbox erneut einrichten beim erneuten laden
'speedIn':600,
'speedOut':200,
'type': 'iframe',
'scrolling':'no'
//'autoDimensions' : false,
//'width' : 650,
//'height' : 450,
});
$('#content').show('normal',hideLoader());
}
//function showNewContent() {
//$('#content').show('normal',hideLoader());
//}
function hideLoader() {
$('#load').fadeOut('normal');
}
//return false;
}