Jscrollpane ajax wont load in IE
Posted
by
goetzs
on Stack Overflow
See other posts from Stack Overflow
or by goetzs
Published on 2011-02-22T15:22:56Z
Indexed on
2011/02/22
15:25 UTC
Read the original article
Hit count: 275
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;
});
© Stack Overflow or respective owner