jquery.ui.tabs.js doesn't load tab data in IE9, Chrome - works perfectly fine in firefox

Posted by Salma Khan on Stack Overflow See other posts from Stack Overflow or by Salma Khan
Published on 2012-09-02T03:36:39Z Indexed on 2012/09/02 3:37 UTC
Read the original article Hit count: 217

Filed under:
|
|
|

I have few issues that I am facing on my site and I have no idea how to fix those.

Please go to http://link.zambeel.ca/index.php/component/obituary/detail/52 and click on Photos tab, it doesn't load images promptly in IE9 and Chrome. I have made it work in firefox with the following code:

var loadNextTab = function() {
if (indexesToLoad.length == 0) return;
var index = indexesToLoad.shift();
$("#tabs-1").tabs("load",index);
};

$("#tabs-1").tabs({
cache: true,
load: loadNextTab
});

Please help me resolve this matter as soon as possible.

Just to let you guys know, I am not a programmer by any means.

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript