jScrollpane Chrome问题 [英] jScrollpane Chrome problem
问题描述
$ b blockquote>
在Webkit浏览器中,CSS必须包含
Javascript
我做到了这一点,但有时候我仍然会(仅在第一页,索引中)出现一些滚动问题,滚动消失和我刷新页面后,它的一切正常
我的浏览器缓存是空的,所以不是..
我也试过使用:
$。ajaxSettings.cache = false;
我用于滚动的代码与ajax示例相似:
$(document).ready(function(){
var api = $('#mydiv')。jScrollPane({showArrows:false, (''a_link')。live('click',function(){... ....
我该如何解决这个问题?
reinitialiseOnImageLoad
是jScrollPane版本1中的一个设置,不再执行任何操作。如果您的窗格包含图像,则需要使用以下技术之一:
http://jscrollpane.kelvinluck.com/image2.html
http://jscrollpane.kelvinluck .com / image.html
如果这无济于事,请在 http://www.jsfiddle.net/ (或者告诉我,您是否可以在jScrollPane网站的演示中重现) 。
in the "Known issues" at JScrollPane site, there's a:
In Webkit browsers CSS must be included before Javascript
i did that but sometimes im still getting (only in the first page, the index) some scroll problems, the scroll just disappears and after i refresh the page again its all ok
my browser cache is empty so is not that.. also i tried using:
$.ajaxSettings.cache = false;
the code im using for my scroll is similar to the ajax example:
$(document).ready(function() {
var api = $('#mydiv').jScrollPane({ showArrows: false, reinitialiseOnImageLoad: true }).data('jsp');
$('.a_link').live('click', function() { ... ....
how can i fix this?
reinitialiseOnImageLoad
is a setting from version 1 of jScrollPane and no longer does anything. If your pane contains images you'll need to use one of these techniques:
http://jscrollpane.kelvinluck.com/image2.html
http://jscrollpane.kelvinluck.com/image.html
If that doesn't help please provide a URL or set up an example on http://www.jsfiddle.net/ (or tell me if you can reproduce in the demos on the jScrollPane site).
这篇关于jScrollpane Chrome问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!