I 've created a small photo tour using HTML, CSS and jQuery. It works fine in Firefox and other browsers, but has some problems in IE.
Here's the code I use to load the data:
function loadNode(nodeID){
jQuery('.churchViewError').hide('slow');
jQuery(".churchViewLoading").show( 'fast');
jQuery.get(cVBaseURL+"ajax/getNodeHTML.php?node="+nodeID,
function(data, status, XMLHTTPRequest){
//someone suggested empty() might help in IE - won't fix it, though
jQuery("#churchViewInner").empty();
jQuery("#churchViewInner").html(data);
jQuery(".churchViewLoading").hide('slow');
}
, 'html');
}
In firefox, the new content (mainly several img and a-Tags) is displayed properly, but IE just shows an empty div. Using
alert(jQuery("#churchViewInner").html());
after the get-Method reveals, that even in IE the new contents seem to be stored in the DOM. It appears that IE doesn't want to actually load/display the images. (Tested in IE 8)
Does anyone have a clue how I can get it working in IE?
Here's the original: http://www.minis-friskus.de/churchview/ (german site) click the red button to start.