DemoSplitview - iPhone Menu not Main div area and resizing screen
I downloaded your project and used the DemoSplitview.html. On iPad, I have the splitview with menu and main div area. On iPhone I see the main area, but I want to see the menu area instead. How can I achieve this?
Also if I check this demo in a desktop web browser with full screen size, I see the slit view. Everything fine. Resizing the web browser and make the dimensions smaller, at some point, it only shows the main area, but I want to display the menu area (I think it is the same "problem" iPhone <-> iPad, described above).
Resizing the screen again and make it bigger again (not reloading the page), the split view does not fit anymore to the big screen size. The width of the main and menu area are fixed. Reloading the page in any size, the splitview fits well again. So is there a possibility to "refresh" the page while resizing, so the split view will looks after any resizing of the web browser well?
the resizing will be fixed in the next version, which I I still need to commit. Regarding letting the menu go first, I started working on it, but it is pretty complicated, as there is a lot of code to adapt and I don't have a lot of time to spend on multiview at the moment.
With the resizing, that would be great if you have the time to commit it. I tried it with $(window).resize(xxx) but without success.
And yes, I took a look inside the code, and I was not able to fix this with the menu and main area.
to resize you'd have to trigger panelHeight (which also triggers panelWidth) on resize. Look for the orientationchange listener and add resize there. The problem is both functions are really resource drainers and I firing way to often, slowing the application down. But they are needed because changing pages will also change the longest panel length, so after transitions/resize/orientationchange, the panel dimensions need to updated.
The menu/main (there is also mid) is hard because they are handled throughout the plugin and I would have to find a way to have the whole plugin running without main/menu/mid and instead use set/yield/yield_2 which are set depending on the user. That will take time... :-)