Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Panels outside Page - not rendering well #6293

Closed
arrivabeni opened this issue Aug 6, 2013 · 1 comment
Closed

Panels outside Page - not rendering well #6293

arrivabeni opened this issue Aug 6, 2013 · 1 comment
Assignees

Comments

@arrivabeni
Copy link

I am using the panel widget outside the page widget on JQM 1.4.0 a1. It's working as excepted, a global panel for the website, except for the appearance which is not rendered like JQM as well.

I've found instructions on how to use this new resource in #5741.

Probably this happen because JQM rendering starts from page widget. Anyone knows if it will change for the Panels Widget?

It's possible that I am making so mistake on using it, because of that I created a Fiddle to reproduce it at http://jsfiddle.net/mavieira/reUCv/2/

Marcelo

@ghost ghost assigned jaspermdegroot Aug 7, 2013
@jaspermdegroot
Copy link
Contributor

@arrivabeni

When widgets are outside pages you have to call the plugin yourself. You already doing that for the panel, but you also have to do this for the listview widget inside the panel. However, for convenience we added $.fn.enhanceWithin(). So if you use $("#sideMenu").panel().enhanceWithin(); everything inside your panel will be enhanced as well.

Closing as not a bug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants