9 Replies Latest reply: Nov 12, 2012 4:10 PM by tk0us
jeromebg Level 1 Level 1 (0 points)

Hi,

I build a html widget to display a 360 virtual tour in html5, everything works perfect except loading content with a jquery load function...

I have a div over the animation in wich I load html content with jquery :

 

function loadContent(sourceUrl) {

$('#spinner').show();
$('#divcontent').animate({
    left: '0'
  }, 2000, 'swing', function() {
$('#divcontentinner').load(sourceUrl, function() { $('#spinner').fadeOut();});
  });
}

 

Works perfect online on desktop and ipad, but in ibooks it doesn't load anything...

I guess .load() is not allowed in ibooks, so is there an other way to load local content in a div wich works in ibooks ?

 

Thanx !


iBook, iOS 6.0.1, jquery