jquery jscrollpane-2.0.0beta10 can't get iframe content to show scrollbars
I can't get my iframe content to show a scrollbar. I believe i've been thorough in following the examples on the jscrollpane site.
I also debugged the jscrollpane js, and it turns out that contentHeight===paneHeight in initialise(), and that prevents the scrollbars from showing. contentHeight should be > paneHeight for my iframe's content, i think.
A demo of the problem is on http://mediabeez.ws/new_interf开发者_如何学编程ace/ I will greatly appreciate tips / clues / fixes.
If we can get this fixed, i'll make a few nice themes for jscrollpane and donate 'm back to the project owner, k? :)
Did you see the specific examples of using jScrollPane inside an iframe on the jScrollPane site?
- The first approach puts the jScrollPane code in the loaded page and uses the full body scroll approach: http://jscrollpane.kelvinluck.com/iframe.html
- The second approach has the jScrollPane code in the containing page but unfortunately is less functional due to security restrictions in the browser: http://jscrollpane.kelvinluck.com/iframe2.html
精彩评论