-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Panels outside Page.[Feature Request] #5741
Comments
and would allow to use ids on panels vs. having to workaround using |
Related: #5659 (comment) |
@arschmitz started to work on this in branch "ext-panels". |
Any chance this will see a release for 1.4? Currently have heavy nav duplication. |
This has just landed in master and is part of 1.4 alpha which we released a few minutes ago. Closing as fixed. |
@uGoMobi you rock |
Great! Any hint on how to use external panels in 1.4? |
Simply don't put the panel in the page and call it as you would any widget On Thu, Aug 1, 2013 at 11:02 AM, Giovanni Lovato
|
Thank you! Would external panels be able to stay open when changing page now? Also: how to make external panels fixed? |
I have got the Panel working externally - which is great! But the "ul, li, a" tags are no longer working at all. This is the code: $(function(){
}); Anyone know why? I really need some good tuts on this stuff. |
I have managed to update it a bit. Now the panel is working outside the pages, I have got the listview styling working, and also the page linking. this is the script $(function(){
}); |
Fixed the panel function, now the problem is that when clicking the links the pages load more than once (eg instead of loading once, they load 3+ times). Here is the code $("#main").on("pageinit", function (event){
}); |
Does the problem still occur if you use this code?
|
Documentation say's
"A panel must be a sibling to the header, content and footer elements inside a jQuery Mobile page. You can add the panel markup either before or after these elements, but not in between.** A panel cannot be placed outside a page, but this constraint will be removed in a future version**."
If in future if Panel is placed outside page, will it be something like a fixed Panel / Panel floating above Pages and Panel stays on change page?
Example: Using panel to show a left navigation using tree structured menu.Selecting an item changes the page but panel stays as it is on page change.
Will be usefull for tablets...
The text was updated successfully, but these errors were encountered: