Page 1 of 1

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

Posted: Fri Aug 09, 2013 12:05 pm
by Gilbert Smith

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?


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

Posted: Fri Aug 09, 2013 1:13 pm
by Kateryna Grynko

Gilbert,

Please take a look at here: https://getsatisfaction.com/apperyio/...


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

Posted: Sat Aug 10, 2013 11:10 pm
by Gilbert Smith

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.