I use a grid to simulate some kind of splitview where I want to use the left side together with a listview to show some navigation buttons and the right side to show some content.
now the listview is really long and I want to have it scrollable. so the listview pane should be scrollable while the content pane stays in full screen height (or later gets its own scrollable content pane). how is this possible with jQM? thnx!
Solution
What you want can't be done that easily. No matter on what platform are you working it is almost impossible to create 2 scrollable panes and that each of them works separately, specially on mobile devices. But as always there's a workaround.
Working example: http://example.gajotres.net/iscrollview/
I can't create you a jsFiddle because iscrollview don't work in that environment. If you already dont know,
iscrollview
is jQuery mobile plugin create as a wrapper aroundiscroll
. Iscroll is plugin create to give a scrollable content to mobile browsers.This implementation uses fixed floating right panel. While rest of the page is scrollable this panel will give you an illusion like it is fixed on a right side of the page.
Tested on
HTML :
Final notes
If you want to find out more about iScroll + iScrollView, how they work with working examples then take a look at this article.