Gilbert Smith
Posts: 0
Joined: Fri Aug 09, 2013 3:31 am

Dynamic Creation of Sliding Panel on 'pagecreate' Event or Create Sliding Panel Custom Component

Since jQM 1.3+ sliding panels have not yet been added to the drag and drop components, how can I dynamically create a sliding panel on a 'pagecreate' event like in the code at the link bellow?

I want to continue to use the visual builder without directly editing the source and breaking the visual builder link.

The jQM panel has to be inserted in the 'data-role=page' but outside of 'data-roles:header, content and footer' so there seems to be no way add it using the GUI builder.

The page common events do not list 'pagecreate'.

Example Code: http://jsfiddle.net/Gajotres/pZzrk/

I read this post regarding the 'pageinit' event but it looks like it requires manual editing of the source.

https://getsatisfaction.com/apperyio/...

jQM panels are extremely useful for RWD, particularly for small screen devices where screen real estate is precious.

Also, is it possible to create a custom plugin to accomplish this?

Gilbert Smith
Posts: 0
Joined: Fri Aug 09, 2013 3:31 am

Dynamic Creation of Sliding Panel on 'pagecreate' Event or Create Sliding Panel Custom Component

Thank you.

I think I would have found that thread if it's title would have included 'panel' or 'sliding'.

Looks like just what I need with the discussion posts and working appery.io js.bin example.

I'll brush up on jQuery and afterwards I'm sure I'll be able to get jQM sliding panels working.

Thanks again.

Return to “Issues”