Comments (4)
Are you using the latest version of jScrollPane? Do you have a URL demonstrating the problem?
jScrollPane needs to remove your content from the page and re-add it when it wraps the content in an extra div. It is possible this is causing problems - you could try re-calling your PNG fix code after initialising jScrollPane.
from jscrollpane.
Latest version, yep.
Here is demonstration: http://yamble.ru/projects/zewa/production.html
First 6 images are PNG.
Re-calling my PNG fix code after initialising jScrollPane — how to do this? You mean to combine 2 script in one file?
Moreover, not all images in a div with id=pane1 time to load when jScrollPane.js already put the scroll.. It happens when i click CTRL F5
from jscrollpane.
Re. the images having time to load, you need to either give them a width and a height in the HTML or you need to reinitialise your scrollpane (this is explained in the examples of the site: http://jscrollpane.kelvinluck.com/image2.html and http://jscrollpane.kelvinluck.com/image.html ).
Re-calling the PNG fix code after initialising jScrollPane, move the lines which start with DD_belatedPNG.fix
after the line $('#pane1').jScrollPane();
from jscrollpane.
Thanks a lot!
All fixed.
from jscrollpane.
Related Issues (20)
- main prop removed from package.json -> Build failed HOT 9
- Incorrect height of scrolling element after reinitialization. HOT 18
- Line with console.log HOT 9
- archive project / search for maintainers HOT 6
- reinitialise method: do not always apply new options HOT 1
- Improvement: pause and resume methods HOT 2
- Broken after updating from 2.0.22 to 2.1.2: jScrollPane is not a function (npm, webpack) HOT 29
- NPM shows rc releases tagged as "latest" HOT 2
- Focus on a input in a table will cause auto scrolling to top under jQuery 3 HOT 10
- Missing kinetic scroll on touch devices HOT 9
- Scrollpane is jumping to bottom HOT 2
- Console error in jquery when use cursor keys HOT 8
- When using stickToBottom and alwaysShowVScroll it does not start by sticking HOT 5
- How to get jScrollPane from node_modules HOT 1
- Jquery 3.5.0 Security Fix Closing HTML Tags HOT 4
- Jquery 4.0: Use of number-typed values is deprecated HOT 4
- click don't work after JScrollPane and Ajax HOT 10
- Error in jScrollPane - v2.2.3-rc.1 - jquery.jscrollpane.js HOT 3
- Still "border-box" problem HOT 3
- jScrollPane loads its own jQuery when used in webpack HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jscrollpane.