Jscrollpane ajax wont load in IE
- by goetzs
I am loading a custom scroll panel in to jScrollpane using their AJAX loading script, it works in everything except IE, any ideas on what to do, no errors show up.
////////////////////////////////////////////////////////////
////////// CODE CREATE CUSTOM SCROLL BAR ////////////////
////////////////////////////////////////////////////////////
$(function()
{
var api = $('.scroll-pane').jScrollPane(
{
showArrows:true,
maintainPosition: false
}
).data('jsp');
$(document).ready(function() {
api.getContentPane().load(
'blank.html',//
function()
{
api.reinitialise();
}
);
return false;
}
);
});
$(function()
{
var settings = {
showArrows: false,
autoReinitialise: true
};
var pane = $('.scroll-pane')
pane.jScrollPane(settings);
var contentPane = pane.data('jsp').getContentPane();
var i = 1;
});